From patchwork Tue Oct 16 20:17:59 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 15033 Received: from mail.tu-berlin.de ([130.149.7.33]) by www.linuxtv.org with esmtp (Exim 4.72) (envelope-from ) id 1TODaq-0006Ai-PK for patchwork@linuxtv.org; Tue, 16 Oct 2012 22:18:24 +0200 X-tubIT-Incoming-IP: 209.132.180.67 Received: from vger.kernel.org ([209.132.180.67]) by mail.tu-berlin.de (exim-4.75/mailfrontend-4) with esmtp for id 1TODaq-0006z1-AC; Tue, 16 Oct 2012 22:18:24 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756001Ab2JPUSJ (ORCPT ); Tue, 16 Oct 2012 16:18:09 -0400 Received: from oproxy7-pub.bluehost.com ([67.222.55.9]:58605 "HELO oproxy7-pub.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755972Ab2JPUSH (ORCPT ); Tue, 16 Oct 2012 16:18:07 -0400 Received: (qmail 15143 invoked by uid 0); 16 Oct 2012 20:18:05 -0000 Received: from unknown (HELO box742.bluehost.com) (66.147.244.242) by oproxy7.bluehost.com with SMTP; 16 Oct 2012 20:18:05 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xenotime.net; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=DFVoD6V5ma3eE2OEtCuoqNPH3JCAnaoW3kV7KYpn/vU=; b=bqRqqCX8kJpH1GHKbuN3SXjA+fF+a3Yvtnjz9DhbQG7WOv69cMcdHtmRnMvepO32ZO20R9wG2l9oxjVThN6lQo/r5VSJUFyE+6TUAIbkmLWca+kCenzOAKufQieKnFHS; Received: from [50.53.38.135] (port=44051 helo=[192.168.1.7]) by box742.bluehost.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76) (envelope-from ) id 1TODaX-0004jc-KG; Tue, 16 Oct 2012 14:18:05 -0600 Message-ID: <507DC0F7.207@xenotime.net> Date: Tue, 16 Oct 2012 13:17:59 -0700 From: Randy Dunlap User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110323 Thunderbird/3.1.9 MIME-Version: 1.0 To: Stephen Rothwell CC: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media , Mauro Carvalho Chehab , Sangwook Lee , Seok-Young Jang Subject: [PATCH -next] media: fix i2c/s5k4ecgx printk format warning References: <20121016145856.cfddc9c898c31b1c686804d7@canb.auug.org.au> In-Reply-To: <20121016145856.cfddc9c898c31b1c686804d7@canb.auug.org.au> X-Identified-User: {1807:box742.bluehost.com:xenotime:xenotime.net} {sentby:smtp auth 50.53.38.135 authed with rdunlap@xenotime.net} Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.10.16.200650 X-PMX-Spam: Gauge=IIIIIIIII, Probability=9%, Report=' MULTIPLE_RCPTS 0.1, HTML_00_01 0.05, HTML_00_10 0.05, MSGID_ADDED_BY_MTA 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1000_1099 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, CT_TEXT_PLAIN_UTF8_CAPS 0, DATE_TZ_NA 0, DKIM_SIGNATURE 0, RATWARE_LC_DIGITS_HELO 0, URI_ENDS_IN_HTML 0, __ANY_URI 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILING_LIST 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MOZILLA_MSGID 0, __MULTIPLE_RCPTS_CC_X2 0, __PHISH_SPEAR_SUBJECT 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __TO_MALFORMED_2 0, __URI_NO_WWW 0, __URI_NS , __USER_AGENT 0' From: Randy Dunlap Fix printk format warning for size_t variable: drivers/media/i2c/s5k4ecgx.c:346:2: warning: format '%d' expects type 'int', but argument 4 has type 'size_t' Signed-off-by: Randy Dunlap Cc: Sangwook Lee Cc: Seok-Young Jang --- drivers/media/i2c/s5k4ecgx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- linux-next-20121016.orig/drivers/media/i2c/s5k4ecgx.c +++ linux-next-20121016/drivers/media/i2c/s5k4ecgx.c @@ -343,7 +343,7 @@ static int s5k4ecgx_load_firmware(struct } regs_num = le32_to_cpu(get_unaligned_le32(fw->data)); - v4l2_dbg(3, debug, sd, "FW: %s size %d register sets %d\n", + v4l2_dbg(3, debug, sd, "FW: %s size %zu register sets %d\n", S5K4ECGX_FIRMWARE, fw->size, regs_num); regs_num++; /* Add header */