Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932249Ab2ELBdT (ORCPT ); Fri, 11 May 2012 21:33:19 -0400 Received: from oproxy9.bluehost.com ([69.89.24.6]:51564 "HELO oproxy9.bluehost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755328Ab2ELBdR (ORCPT ); Fri, 11 May 2012 21:33:17 -0400 Message-ID: <4FADBDEB.402@xenotime.net> Date: Fri, 11 May 2012 18:33:31 -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, LKML , Wim Van Sebroeck Subject: [PATCH -next] watchdog: fix ie6xx_wdt.c printk format warning References: <20120511162738.1d65b6efe099a54841be6313@canb.auug.org.au> In-Reply-To: <20120511162738.1d65b6efe099a54841be6313@canb.auug.org.au> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Identified-User: {1807:box742.bluehost.com:xenotime:xenotime.net} {sentby:smtp auth 50.53.38.135 authed with rdunlap@xenotime.net} Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1113 Lines: 30 From: Randy Dunlap Fix printk format warning; use cast to u64 since resource_size_t can be either u32 or u64. drivers/watchdog/ie6xx_wdt.c:261:4: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'resource_size_t' Signed-off-by: Randy Dunlap --- drivers/watchdog/ie6xx_wdt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-next-20120511.orig/drivers/watchdog/ie6xx_wdt.c +++ linux-next-20120511/drivers/watchdog/ie6xx_wdt.c @@ -257,8 +257,8 @@ static int __devinit ie6xx_wdt_probe(str return -ENODEV; if (!request_region(res->start, resource_size(res), pdev->name)) { - dev_err(&pdev->dev, "Watchdog region 0x%x already in use!\n", - res->start); + dev_err(&pdev->dev, "Watchdog region 0x%llx already in use!\n", + (u64)res->start); return -EBUSY; } -- 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/