From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: [PATCH -next] power: fix printk formats Date: Wed, 16 Dec 2009 14:26:06 -0800 Message-ID: <20091216142606.1a9f3817.randy.dunlap@oracle.com> References: <20091216183212.118c5e14.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20091216183212.118c5e14.sfr@canb.auug.org.au> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: Stephen Rothwell , "Rafael J. Wysocki" Cc: linux-pm@lists.linux-foundation.org, linux-next@vger.kernel.org, LKML List-Id: linux-next.vger.kernel.org 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 --- 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); }