summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tuner-xc2028.c
diff options
context:
space:
mode:
authorChris Pascoe <c.pascoe@itee.uq.edu.au>2007-11-19 17:38:53 +1000
committerChris Pascoe <c.pascoe@itee.uq.edu.au>2007-11-19 17:38:53 +1000
commit40a29b32793e052ab3e29da080a2b9bf15eff148 (patch)
tree736e1b008d21fff16d4b6773558cb5baada97b6a /linux/drivers/media/video/tuner-xc2028.c
parentb5d25e7b51cb553aa21f68791db7f938d0f5029b (diff)
downloadmediapointer-dvb-s2-40a29b32793e052ab3e29da080a2b9bf15eff148.tar.gz
mediapointer-dvb-s2-40a29b32793e052ab3e29da080a2b9bf15eff148.tar.bz2
xc2028: v4l2_std_id needs to be long long to display completely
From: Chris Pascoe <c.pascoe@itee.uq.edu.au> Cast v4l2_std_id variables to unsigned long long so they will printk properly. Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/tuner-xc2028.c')
-rw-r--r--linux/drivers/media/video/tuner-xc2028.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/linux/drivers/media/video/tuner-xc2028.c b/linux/drivers/media/video/tuner-xc2028.c
index aef5a9170..3f0203b7a 100644
--- a/linux/drivers/media/video/tuner-xc2028.c
+++ b/linux/drivers/media/video/tuner-xc2028.c
@@ -345,7 +345,7 @@ static int load_all_firmwares(struct dvb_frontend *fe)
dump_firm_type(type);
printk("(%x), id %llx is corrupted "
"(size=%d, expected %d)\n",
- type, id,
+ type, (unsigned long long)id,
(unsigned)(endp - p), size);
goto corrupt;
}
@@ -358,8 +358,8 @@ static int load_all_firmwares(struct dvb_frontend *fe)
}
tuner_info("Reading firmware type ");
dump_firm_type(type);
- printk("(%x), id %lx, size=%d.\n",
- type, (unsigned long)id, size);
+ printk("(%x), id %llx, size=%d.\n",
+ type, (unsigned long long)id, size);
memcpy(priv->firm[n].ptr, p, size);
priv->firm[n].type = type;
@@ -432,7 +432,7 @@ ret:
tuner_dbg("%s firmware for type=", (i < 0)? "Can't find": "Found");
if (debug) {
dump_firm_type(type);
- printk("(%x), id %08lx.\n", type, (unsigned long)*id);
+ printk("(%x), id %016llx.\n", type, (unsigned long long)*id);
}
return i;
}
@@ -452,7 +452,7 @@ static int load_firmware(struct dvb_frontend *fe, unsigned int type,
tuner_info("Loading firmware for type=");
dump_firm_type(type);
- printk("(%x), id %08lx.\n", type, (unsigned long)*id);
+ printk("(%x), id %016llx.\n", type, (unsigned long long)*id);
p = priv->firm[pos].ptr;