aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-xc2028.c
diff options
context:
space:
mode:
authorChris Pascoe <c.pascoe@itee.uq.edu.au>2007-11-19 02:38:53 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:02:23 -0500
commit91240dd92474d4124f80b00e6200052b275a99a1 (patch)
treeb4059b37bca0fc7271d97beeb884028ba7c86c02 /drivers/media/video/tuner-xc2028.c
parent3157ecef3bce47df74427d6656fa8592bfe8d2d7 (diff)
V4L/DVB (6635): xc2028: v4l2_std_id needs to be long long to display completely
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 'drivers/media/video/tuner-xc2028.c')
-rw-r--r--drivers/media/video/tuner-xc2028.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/video/tuner-xc2028.c b/drivers/media/video/tuner-xc2028.c
index c208f1f5e72c..a01231a0410d 100644
--- a/drivers/media/video/tuner-xc2028.c
+++ b/drivers/media/video/tuner-xc2028.c
@@ -330,7 +330,7 @@ static int load_all_firmwares(struct dvb_frontend *fe)
330 dump_firm_type(type); 330 dump_firm_type(type);
331 printk("(%x), id %llx is corrupted " 331 printk("(%x), id %llx is corrupted "
332 "(size=%d, expected %d)\n", 332 "(size=%d, expected %d)\n",
333 type, id, 333 type, (unsigned long long)id,
334 (unsigned)(endp - p), size); 334 (unsigned)(endp - p), size);
335 goto corrupt; 335 goto corrupt;
336 } 336 }
@@ -343,8 +343,8 @@ static int load_all_firmwares(struct dvb_frontend *fe)
343 } 343 }
344 tuner_info("Reading firmware type "); 344 tuner_info("Reading firmware type ");
345 dump_firm_type(type); 345 dump_firm_type(type);
346 printk("(%x), id %lx, size=%d.\n", 346 printk("(%x), id %llx, size=%d.\n",
347 type, (unsigned long)id, size); 347 type, (unsigned long long)id, size);
348 348
349 memcpy(priv->firm[n].ptr, p, size); 349 memcpy(priv->firm[n].ptr, p, size);
350 priv->firm[n].type = type; 350 priv->firm[n].type = type;
@@ -417,7 +417,7 @@ ret:
417 tuner_dbg("%s firmware for type=", (i < 0)? "Can't find": "Found"); 417 tuner_dbg("%s firmware for type=", (i < 0)? "Can't find": "Found");
418 if (debug) { 418 if (debug) {
419 dump_firm_type(type); 419 dump_firm_type(type);
420 printk("(%x), id %08lx.\n", type, (unsigned long)*id); 420 printk("(%x), id %016llx.\n", type, (unsigned long long)*id);
421 } 421 }
422 return i; 422 return i;
423} 423}
@@ -437,7 +437,7 @@ static int load_firmware(struct dvb_frontend *fe, unsigned int type,
437 437
438 tuner_info("Loading firmware for type="); 438 tuner_info("Loading firmware for type=");
439 dump_firm_type(type); 439 dump_firm_type(type);
440 printk("(%x), id %08lx.\n", type, (unsigned long)*id); 440 printk("(%x), id %016llx.\n", type, (unsigned long long)*id);
441 441
442 p = priv->firm[pos].ptr; 442 p = priv->firm[pos].ptr;
443 443