From patchwork Mon Mar 21 12:03:03 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: manjunatha_halli@ti.com X-Patchwork-Id: 647781 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2LBaq6j029191 for ; Mon, 21 Mar 2011 11:36:52 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751960Ab1CULgY (ORCPT ); Mon, 21 Mar 2011 07:36:24 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:53327 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751497Ab1CULgX (ORCPT ); Mon, 21 Mar 2011 07:36:23 -0400 Received: from dlep36.itg.ti.com ([157.170.170.91]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id p2LBZvpt021343 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 21 Mar 2011 06:35:57 -0500 Received: from localhost.localdomain (localhost [127.0.0.1]) by dlep36.itg.ti.com (8.13.8/8.13.8) with ESMTP id p2LBZtbI020960; Mon, 21 Mar 2011 06:35:55 -0500 (CDT) From: manjunatha_halli@ti.com To: sfr@canb.auug.org.au Cc: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, Manjunatha Halli , Randy Dunlap Subject: [PATCH 1/2] [media] radio: wl128x: Fix printk format warning Date: Mon, 21 Mar 2011 08:03:03 -0400 Message-Id: <1300708983-18036-1-git-send-email-manjunatha_halli@ti.com> X-Mailer: git-send-email 1.5.6.5 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 21 Mar 2011 11:36:52 +0000 (UTC) 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;