summaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/wl128x
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2011-03-06 09:30:02 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 04:54:02 -0300
commitcfa746b39c2db17f2fde301e347324ac89fc5ea9 (patch)
treed69af29a3e16d28fe59a412a3de1091d741a57ee /drivers/media/radio/wl128x
parent3920d6b34d7f6d4e81773b6bbd93d53c167b048f (diff)
downloadop-kernel-dev-cfa746b39c2db17f2fde301e347324ac89fc5ea9.zip
op-kernel-dev-cfa746b39c2db17f2fde301e347324ac89fc5ea9.tar.gz
[media] fmdrv_common.c: fix compiler warning
drivers/media/radio/wl128x/fmdrv_common.c: In function 'recv_tasklet': drivers/media/radio/wl128x/fmdrv_common.c:274:4: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' The result of sizeof() should be printed with %zu. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/radio/wl128x')
-rw-r--r--drivers/media/radio/wl128x/fmdrv_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/radio/wl128x/fmdrv_common.c b/drivers/media/radio/wl128x/fmdrv_common.c
index 12f4c65..64454d3 100644
--- a/drivers/media/radio/wl128x/fmdrv_common.c
+++ b/drivers/media/radio/wl128x/fmdrv_common.c
@@ -271,8 +271,8 @@ static void recv_tasklet(unsigned long arg)
/* Process all packets in the RX queue */
while ((skb = skb_dequeue(&fmdev->rx_q))) {
if (skb->len < sizeof(struct fm_event_msg_hdr)) {
- fmerr("skb(%p) has only %d bytes"
- "atleast need %d bytes to decode\n", skb,
+ fmerr("skb(%p) has only %d bytes, "
+ "at least need %zu bytes to decode\n", skb,
skb->len, sizeof(struct fm_event_msg_hdr));
kfree_skb(skb);
continue;
OpenPOWER on IntegriCloud