]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit7236f0e1eff818a4b23c1aa1e22c719b2ca963af
treecaffb6f9800632545fefaa0db81f4fc957bdba89
parent1fd1b86de79a2cd94b79515224be3241c21b2bad
[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