From patchwork Mon Feb 27 18:25:41 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Randy.Dunlap" X-Patchwork-Id: 143243 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-yw0-f56.google.com (mail-yw0-f56.google.com [209.85.213.56]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 334C5B6FA3 for ; Tue, 28 Feb 2012 05:25:44 +1100 (EST) Received: by yhjj63 with SMTP id j63sf3343410yhj.11 for ; Mon, 27 Feb 2012 10:25:41 -0800 (PST) Received-SPF: pass (google.com: domain of rtc-linux+bncCIKHx__8DRCjla_6BBoEF09cbQ@googlegroups.com designates 10.68.227.97 as permitted sender) client-ip=10.68.227.97; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rtc-linux+bncCIKHx__8DRCjla_6BBoEF09cbQ@googlegroups.com designates 10.68.227.97 as permitted sender) smtp.mail=rtc-linux+bncCIKHx__8DRCjla_6BBoEF09cbQ@googlegroups.com; dkim=pass header.i=rtc-linux+bncCIKHx__8DRCjla_6BBoEF09cbQ@googlegroups.com Received: from mr.google.com ([10.68.227.97]) by 10.68.227.97 with SMTP id rz1mr9137523pbc.16.1330367140820 (num_hops = 1); Mon, 27 Feb 2012 10:25:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:message-id:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to:x-identified-user :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-google-group-id:list-post :list-help:list-archive:sender:list-subscribe:list-unsubscribe :content-type; bh=BuXJmLGXlCMISB5b0W4FA49E6CHiKEy1QTGse65BNIw=; b=PKBPrzlEBek4HIjU4oB/WSqGeafUBUCC/0IUZmGxP0OYhapAfgJ4ai7RrrwdJZgnIy Y3OBoWdfZMD2oK3u1k8RsXoAL88ZC+3MTCOYtW8raKTfHMzMlKZ3b5+tG/951ZiRuQQ+ Il7hxFxxjOjRS/WOJFoN83NU7cLcYKrkhImPQ= Received: by 10.68.227.97 with SMTP id rz1mr2657924pbc.16.1330367139910; Mon, 27 Feb 2012 10:25:39 -0800 (PST) X-BeenThere: rtc-linux@googlegroups.com Received: by 10.68.120.102 with SMTP id lb6ls18583433pbb.6.gmail; Mon, 27 Feb 2012 10:25:39 -0800 (PST) Received: by 10.68.221.4 with SMTP id qa4mr12307159pbc.7.1330367139510; Mon, 27 Feb 2012 10:25:39 -0800 (PST) Received: by 10.68.221.4 with SMTP id qa4mr12307158pbc.7.1330367139501; Mon, 27 Feb 2012 10:25:39 -0800 (PST) Received: from oproxy5-pub.bluehost.com (oproxy5-pub.bluehost.com. [67.222.38.55]) by gmr-mx.google.com with SMTP id p7si6466260pbq.0.2012.02.27.10.25.39; Mon, 27 Feb 2012 10:25:39 -0800 (PST) Received-SPF: pass (google.com: domain of rdunlap@xenotime.net designates 67.222.38.55 as permitted sender) client-ip=67.222.38.55; Received: (qmail 11493 invoked by uid 0); 27 Feb 2012 18:25:38 -0000 Received: from unknown (HELO box742.bluehost.com) (66.147.244.242) by cpoproxy2.bluehost.com with SMTP; 27 Feb 2012 18:25:38 -0000 Received: from static-50-53-38-135.bvtn.or.frontiernet.net ([50.53.38.135] helo=[192.168.1.3]) by box742.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1S25GU-0004xr-Q3; Mon, 27 Feb 2012 11:25:38 -0700 Message-ID: <4F4BCAA5.8060308@xenotime.net> Date: Mon, 27 Feb 2012 10:25:41 -0800 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, LKML , Alessandro Zummo , rtc-linux@googlegroups.com, Andrew Morton Subject: [rtc-linux] [PATCH -next] rtc: fix rtc-ds1307 printk format warning References: <20120227182029.545a7db32550ce94c9faffb4@canb.auug.org.au> In-Reply-To: <20120227182029.545a7db32550ce94c9faffb4@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} X-Original-Sender: rdunlap@xenotime.net X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of rdunlap@xenotime.net designates 67.222.38.55 as permitted sender) smtp.mail=rdunlap@xenotime.net; dkim=pass header.i=@xenotime.net Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , From: Randy Dunlap Fix printk format warning: drivers/rtc/rtc-ds1307.c:915:3: warning: format '%d' expects type 'int', but argument 3 has type 'size_t' Signed-off-by: Randy Dunlap Cc: Alessandro Zummo Cc: rtc-linux@googlegroups.com --- drivers/rtc/rtc-ds1307.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20120227.orig/drivers/rtc/rtc-ds1307.c +++ linux-next-20120227/drivers/rtc/rtc-ds1307.c @@ -912,7 +912,7 @@ read_rtc: goto exit_nvram; } set_bit(HAS_NVRAM, &ds1307->flags); - dev_info(&client->dev, "%d bytes nvram\n", ds1307->nvram->size); + dev_info(&client->dev, "%zu bytes nvram\n", ds1307->nvram->size); } return 0;