2011-03-21 11:36:28

by halli manjunatha

[permalink] [raw]
Subject: [PATCH 1/2] [media] radio: wl128x: Fix printk format warning

From: Manjunatha Halli <[email protected]>

Signed-off-by: Manjunatha Halli <[email protected]>
Signed-off-by: Randy Dunlap <[email protected]>
---
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