Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762727AbZLPWeo (ORCPT ); Wed, 16 Dec 2009 17:34:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752898AbZLPWek (ORCPT ); Wed, 16 Dec 2009 17:34:40 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:59435 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756094AbZLPWej (ORCPT ); Wed, 16 Dec 2009 17:34:39 -0500 From: "Rafael J. Wysocki" To: Randy Dunlap Subject: Re: [PATCH -next] power: fix printk formats Date: Wed, 16 Dec 2009 23:35:31 +0100 User-Agent: KMail/1.12.3 (Linux/2.6.32-rjw; KDE/4.3.3; x86_64; ; ) Cc: Stephen Rothwell , linux-next@vger.kernel.org, LKML , linux-pm@lists.linux-foundation.org References: <20091216183212.118c5e14.sfr@canb.auug.org.au> <20091216142606.1a9f3817.randy.dunlap@oracle.com> In-Reply-To: <20091216142606.1a9f3817.randy.dunlap@oracle.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912162335.31395.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1319 Lines: 38 On Wednesday 16 December 2009, Randy Dunlap wrote: > From: Randy Dunlap > > Fix printk format warnings: > > drivers/base/power/main.c:398:warning: format '%Lu' expects type 'long long unsigned int', but argument 5 has type 'long int' > drivers/base/power/main.c:398:warning: format '%03Lu' expects type 'long long unsigned int', but argument 6 has type 'long int' > > Signed-off-by: Randy Dunlap Already fixed in my tree. Rafael > --- > drivers/base/power/main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- linux-next-20091216.orig/drivers/base/power/main.c > +++ linux-next-20091216/drivers/base/power/main.c > @@ -395,7 +395,7 @@ static void dpm_show_time(ktime_t startt > usecs = usecs64; > if (usecs == 0) > usecs = 1; > - pr_info("PM: %s%s%s of devices complete after %Lu.%03Lu msecs\n", > + pr_info("PM: %s%s%s of devices complete after %lu.%03lu msecs\n", > info ?: "", info ? " " : "", pm_verb(state.event), > usecs / USEC_PER_MSEC, usecs % USEC_PER_MSEC); > } > > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/