diff options
author | Randy Dunlap <rdunlap@xenotime.net> | 2012-05-14 16:15:20 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2012-05-30 02:16:48 -0400 |
commit | 4b98b32aefb2c143a40cdaa254eb905f1bb06b5d (patch) | |
tree | c05f0b0f9215738bfbf5d73d16841b5f112f8ca0 /drivers/watchdog/iTCO_wdt.c | |
parent | d9df0ef1eb9e1048f0ab4a6e93c85f60c5594c2f (diff) |
watchdog: iTCO_wdt.c: fix printk format warnings
Fix printk format warnings:
drivers/watchdog/iTCO_wdt.c:577:3: warning: format '%04llx' expects type 'long long unsigned int', but argument 2 has type 'resource_size_t'
drivers/watchdog/iTCO_wdt.c:594:3: warning: format '%04llx' expects type 'long long unsigned int', but argument 2 has type 'resource_size_t'
drivers/watchdog/iTCO_wdt.c:600:2: warning: format '%04llx' expects type 'long long unsigned int', but argument 4 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/watchdog/iTCO_wdt.c')
-rw-r--r-- | drivers/watchdog/iTCO_wdt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/watchdog/iTCO_wdt.c b/drivers/watchdog/iTCO_wdt.c index 741528b032e2..bc47e9012f37 100644 --- a/drivers/watchdog/iTCO_wdt.c +++ b/drivers/watchdog/iTCO_wdt.c | |||
@@ -575,7 +575,7 @@ static int __devinit iTCO_wdt_probe(struct platform_device *dev) | |||
575 | if (!request_region(iTCO_wdt_private.smi_res->start, | 575 | if (!request_region(iTCO_wdt_private.smi_res->start, |
576 | resource_size(iTCO_wdt_private.smi_res), dev->name)) { | 576 | resource_size(iTCO_wdt_private.smi_res), dev->name)) { |
577 | pr_err("I/O address 0x%04llx already in use, device disabled\n", | 577 | pr_err("I/O address 0x%04llx already in use, device disabled\n", |
578 | SMI_EN); | 578 | (u64)SMI_EN); |
579 | ret = -EBUSY; | 579 | ret = -EBUSY; |
580 | goto unmap_gcs; | 580 | goto unmap_gcs; |
581 | } | 581 | } |
@@ -592,13 +592,13 @@ static int __devinit iTCO_wdt_probe(struct platform_device *dev) | |||
592 | if (!request_region(iTCO_wdt_private.tco_res->start, | 592 | if (!request_region(iTCO_wdt_private.tco_res->start, |
593 | resource_size(iTCO_wdt_private.tco_res), dev->name)) { | 593 | resource_size(iTCO_wdt_private.tco_res), dev->name)) { |
594 | pr_err("I/O address 0x%04llx already in use, device disabled\n", | 594 | pr_err("I/O address 0x%04llx already in use, device disabled\n", |
595 | TCOBASE); | 595 | (u64)TCOBASE); |
596 | ret = -EBUSY; | 596 | ret = -EBUSY; |
597 | goto unreg_smi; | 597 | goto unreg_smi; |
598 | } | 598 | } |
599 | 599 | ||
600 | pr_info("Found a %s TCO device (Version=%d, TCOBASE=0x%04llx)\n", | 600 | pr_info("Found a %s TCO device (Version=%d, TCOBASE=0x%04llx)\n", |
601 | ich_info->name, ich_info->iTCO_version, TCOBASE); | 601 | ich_info->name, ich_info->iTCO_version, (u64)TCOBASE); |
602 | 602 | ||
603 | /* Clear out the (probably old) status */ | 603 | /* Clear out the (probably old) status */ |
604 | outw(0x0008, TCO1_STS); /* Clear the Time Out Status bit */ | 604 | outw(0x0008, TCO1_STS); /* Clear the Time Out Status bit */ |