Commit 744f6f4d authored by Randy Dunlap's avatar Randy Dunlap Committed by Wim Van Sebroeck

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: default avatarRandy Dunlap <rdunlap@xenotime.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 101ce87b
...@@ -257,8 +257,8 @@ static int __devinit ie6xx_wdt_probe(struct platform_device *pdev) ...@@ -257,8 +257,8 @@ static int __devinit ie6xx_wdt_probe(struct platform_device *pdev)
return -ENODEV; return -ENODEV;
if (!request_region(res->start, resource_size(res), pdev->name)) { if (!request_region(res->start, resource_size(res), pdev->name)) {
dev_err(&pdev->dev, "Watchdog region 0x%x already in use!\n", dev_err(&pdev->dev, "Watchdog region 0x%llx already in use!\n",
res->start); (u64)res->start);
return -EBUSY; return -EBUSY;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment