Messages in this thread Patch in this message | | | From | manjunatha_halli@ti ... | Subject | [PATCH 1/2] [media] radio: wl128x: Fix printk format warning | Date | Mon, 21 Mar 2011 08:03:03 -0400 |
| |
From: Manjunatha Halli <manjunatha_halli@ti.com>
Signed-off-by: Manjunatha Halli <manjunatha_halli@ti.com> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- drivers/media/radio/wl128x/fmdrv_common.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/media/radio/wl128x/fmdrv_common.c b/drivers/media/radio/wl128x/fmdrv_common.c index 12f4c65..96a95c5 100644 --- a/drivers/media/radio/wl128x/fmdrv_common.c +++ b/drivers/media/radio/wl128x/fmdrv_common.c @@ -272,7 +272,7 @@ static void recv_tasklet(unsigned long arg) 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, + "need at least %zd bytes to decode\n", skb, skb->len, sizeof(struct fm_event_msg_hdr)); kfree_skb(skb); continue; -- 1.7.0.4
| |