summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2012-05-12 03:33:31 +0200
committerWim Van Sebroeck <wim@iguana.be>2012-05-23 16:25:29 +0200
commit744f6f4d3db2e9f153c9381b169aaee5c6ad4187 (patch)
tree12cf22dd7e3b6255972c15bf9a53ee110a1c41a3 /drivers
parentwatchdog: Add watchdog driver for Intel Atom E6XX (diff)
downloadlinux-744f6f4d3db2e9f153c9381b169aaee5c6ad4187.tar.xz
linux-744f6f4d3db2e9f153c9381b169aaee5c6ad4187.zip
watchdog: ie6xx_wdt.c: fix printk format warning
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 <rdunlap@xenotime.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/watchdog/ie6xx_wdt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/watchdog/ie6xx_wdt.c b/drivers/watchdog/ie6xx_wdt.c
index db21ce4a2c42..790993efce28 100644
--- a/drivers/watchdog/ie6xx_wdt.c
+++ b/drivers/watchdog/ie6xx_wdt.c
@@ -257,8 +257,8 @@ static int __devinit ie6xx_wdt_probe(struct platform_device *pdev)
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;
}