diff options
author | Kulikov Vasiliy <segooon@gmail.com> | 2010-07-14 14:06:30 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2010-08-08 14:22:44 -0400 |
commit | adb23631a739b6a02eadf0ee5ff021cadcddfc61 (patch) | |
tree | 0cf6a2126cc549e79b1817365656415c31eb9e9b | |
parent | 4a370278e1041d4c62719bcd773e9c620e775901 (diff) |
watchdog: hpwdt: formatting of pointers in printk()
Use %p instead of %08x in printk().
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
-rw-r--r-- | drivers/watchdog/hpwdt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c index 809e7167a624..fd312fc8940e 100644 --- a/drivers/watchdog/hpwdt.c +++ b/drivers/watchdog/hpwdt.c | |||
@@ -246,8 +246,8 @@ static int __devinit cru_detect(unsigned long map_entry, | |||
246 | physical_bios_offset); | 246 | physical_bios_offset); |
247 | printk(KERN_DEBUG "hpwdt: CRU Length: 0x%lx\n", | 247 | printk(KERN_DEBUG "hpwdt: CRU Length: 0x%lx\n", |
248 | cru_length); | 248 | cru_length); |
249 | printk(KERN_DEBUG "hpwdt: CRU Mapped Address: 0x%x\n", | 249 | printk(KERN_DEBUG "hpwdt: CRU Mapped Address: %p\n", |
250 | (unsigned int)&cru_rom_addr); | 250 | &cru_rom_addr); |
251 | } | 251 | } |
252 | iounmap(bios32_map); | 252 | iounmap(bios32_map); |
253 | return retval; | 253 | return retval; |