From: Tobias Lorenz Date: Tue, 29 Jan 2008 01:49:14 +0000 (-0300) Subject: V4L/DVB (7110): Trivial printf warning fix (radio-si470) X-Git-Tag: v2.6.25-rc3~132^2~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=998cb0827d62f13a80e7f7b0ec993e98184cbc57;p=platform%2Fkernel%2Flinux-3.10.git V4L/DVB (7110): Trivial printf warning fix (radio-si470) Thanks to Darren Salt for pointing this issue. Signed-off-by: Tobias Lorenz Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/radio/radio-si470x.c b/drivers/media/radio/radio-si470x.c index 7fdee3c..204577e 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 != %d\n", size, sizeof(buf)); + "return size differs: %d != %ld\n", size, sizeof(buf)); if (retval < 0) printk(KERN_WARNING DRIVER_NAME ": si470x_get_rds_registers: " "usb_interrupt_msg returned %d\n", retval);