From patchwork Tue Feb 2 22:40:49 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 2572 Return-path: Envelope-to: mchehab@infradead.org Delivery-date: Tue, 02 Feb 2010 22:41:06 +0000 Received: from bombadil.infradead.org [18.85.46.34] by pedra with IMAP (fetchmail-6.3.6) for (single-drop); Tue, 02 Feb 2010 20:44:27 -0200 (BRST) Received: from vger.kernel.org ([209.132.180.67]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1NcRQg-00039a-2R; Tue, 02 Feb 2010 22:41:06 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932158Ab0BBWlD (ORCPT + 1 other); Tue, 2 Feb 2010 17:41:03 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:38560 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757094Ab0BBWlB (ORCPT ); Tue, 2 Feb 2010 17:41:01 -0500 Received: from imap1.linux-foundation.org (imap1.linux-foundation.org [140.211.169.55]) by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id o12MeoQM011310 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 2 Feb 2010 14:40:51 -0800 Received: from localhost.localdomain (localhost [127.0.0.1]) by imap1.linux-foundation.org (8.13.5.20060308/8.13.5/Debian-3ubuntu1.1) with ESMTP id o12MeoSv018915; Tue, 2 Feb 2010 14:40:50 -0800 Message-Id: <201002022240.o12MeoSv018915@imap1.linux-foundation.org> Subject: [patch 5/7] drivers/media/video/cx18/cx18-alsa-pcm.c: fix printk warning To: mchehab@infradead.org Cc: linux-media@vger.kernel.org, akpm@linux-foundation.org, awalls@radix.net From: akpm@linux-foundation.org Date: Tue, 02 Feb 2010 14:40:49 -0800 MIME-Version: 1.0 X-Spam-Status: No, hits=-3.518 required=5 tests=AWL, BAYES_00, OSDL_HEADER_SUBJECT_BRACKETED X-Spam-Checker-Version: SpamAssassin 3.2.4-osdl_revision__1.47__ X-MIMEDefang-Filter: lf$Revision: 1.188 $ X-Scanned-By: MIMEDefang 2.63 on 140.211.169.13 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Andrew Morton drivers/media/video/cx18/cx18-alsa-pcm.c: In function 'cx18_alsa_announce_pcm_data': drivers/media/video/cx18/cx18-alsa-pcm.c:82: warning: format '%d' expects type 'int', but argument 5 has type 'size_t' Cc: Andy Walls Cc: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Acked-by: Andy Walls --- drivers/media/video/cx18/cx18-alsa-pcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/media/video/cx18/cx18-alsa-pcm.c~drivers-media-video-cx18-cx18-alsa-pcmc-fix-printk-warning drivers/media/video/cx18/cx18-alsa-pcm.c --- a/drivers/media/video/cx18/cx18-alsa-pcm.c~drivers-media-video-cx18-cx18-alsa-pcmc-fix-printk-warning +++ a/drivers/media/video/cx18/cx18-alsa-pcm.c @@ -79,7 +79,7 @@ void cx18_alsa_announce_pcm_data(struct int period_elapsed = 0; int length; - dprintk("cx18 alsa announce ptr=%p data=%p num_bytes=%d\n", cxsc, + dprintk("cx18 alsa announce ptr=%p data=%p num_bytes=%zd\n", cxsc, pcm_data, num_bytes); substream = cxsc->capture_pcm_substream;