Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=91240dd92474d4124f80b00e6200052b275a99a1
Commit:     91240dd92474d4124f80b00e6200052b275a99a1
Parent:     3157ecef3bce47df74427d6656fa8592bfe8d2d7
Author:     Chris Pascoe <[EMAIL PROTECTED]>
AuthorDate: Mon Nov 19 04:38:53 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Fri Jan 25 19:02:23 2008 -0200

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/video/tuner-xc2028.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/media/video/tuner-xc2028.c 
b/drivers/media/video/tuner-xc2028.c
index c208f1f..a01231a 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)
                        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;
                }
@@ -343,8 +343,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;
@@ -417,7 +417,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;
 }
@@ -437,7 +437,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;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to