diff options
author | Kulikov Vasiliy <segooon@gmail.com> | 2010-07-14 22:06:30 +0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2010-08-08 18:22:44 +0000 |
commit | adb23631a739b6a02eadf0ee5ff021cadcddfc61 (patch) | |
tree | 0cf6a2126cc549e79b1817365656415c31eb9e9b /drivers/watchdog/hpwdt.c | |
parent | 4a370278e1041d4c62719bcd773e9c620e775901 (diff) | |
download | kernel_samsung_tuna-adb23631a739b6a02eadf0ee5ff021cadcddfc61.zip kernel_samsung_tuna-adb23631a739b6a02eadf0ee5ff021cadcddfc61.tar.gz kernel_samsung_tuna-adb23631a739b6a02eadf0ee5ff021cadcddfc61.tar.bz2 |
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>
Diffstat (limited to 'drivers/watchdog/hpwdt.c')
-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 809e716..fd312fc 100644 --- a/drivers/watchdog/hpwdt.c +++ b/drivers/watchdog/hpwdt.c @@ -246,8 +246,8 @@ static int __devinit cru_detect(unsigned long map_entry, physical_bios_offset); printk(KERN_DEBUG "hpwdt: CRU Length: 0x%lx\n", cru_length); - printk(KERN_DEBUG "hpwdt: CRU Mapped Address: 0x%x\n", - (unsigned int)&cru_rom_addr); + printk(KERN_DEBUG "hpwdt: CRU Mapped Address: %p\n", + &cru_rom_addr); } iounmap(bios32_map); return retval; |