Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=83947d307d63dc0c30ab0809714f0bcbbdf8c3e2
Commit:     83947d307d63dc0c30ab0809714f0bcbbdf8c3e2
Parent:     61b080d214c4dba91fb726169fb0c3f0e8de4b45
Author:     Michael Krufky <[EMAIL PROTECTED]>
AuthorDate: Sun Feb 10 20:13:25 2008 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Mon Feb 18 11:15:17 2008 -0300

    V4L/DVB (7183): radio-si470x: fix build warning
    
    fix the following build warning:
    
    radio-si470x.c: In function 'si470x_get_rds_registers':
    radio-si470x.c:562: warning: format '%ld' expects type 'long int',
                    but argument 3 has type 'unsigned int'
    
    Signed-off-by: Michael Krufky <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/radio/radio-si470x.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/media/radio/radio-si470x.c 
b/drivers/media/radio/radio-si470x.c
index 204577e..d428c3a 100644
--- a/drivers/media/radio/radio-si470x.c
+++ b/drivers/media/radio/radio-si470x.c
@@ -558,7 +558,7 @@ static int si470x_get_rds_registers(struct si470x_device 
*radio)
                (void *) &buf, sizeof(buf), &size, usb_timeout);
        if (size != sizeof(buf))
                printk(KERN_WARNING DRIVER_NAME ": si470x_get_rds_register: "
-                      "return size differs: %d != %ld\n", size, sizeof(buf));
+                      "return size differs: %d != %uld\n", size, sizeof(buf));
        if (retval < 0)
                printk(KERN_WARNING DRIVER_NAME ": si470x_get_rds_registers: "
                        "usb_interrupt_msg returned %d\n", retval);
-
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