[WATCHDOG] wdt_pci: fix printk and variable type
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 7 Aug 2009 22:02:00 +0000 (15:02 -0700)
committerWim Van Sebroeck <wim@iguana.be>
Fri, 18 Sep 2009 08:39:01 +0000 (08:39 +0000)
commitd1833c21256e7b0ac3997493d31f0f3926f6d592
treecaffb6f9800632545fefaa0db81f4fc957bdba89
parent119d3e56e7c82a73d27b5dd010c52dab1bc9f846
[WATCHDOG] wdt_pci: fix printk and variable type

Fix printk format warning:
drivers/watchdog/wdt_pci.c:652: warning: format '%04x' expects type 'unsigned int', but argument 2 has type 'resource_size_t'

and then use resource_size_t for the "io" variable as well
so that it won't be truncated.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/wdt_pci.c