diff options
author | Kulikov Vasiliy <segooon@gmail.com> | 2010-07-14 20:06:30 +0200 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2010-08-08 20:22:44 +0200 |
commit | adb23631a739b6a02eadf0ee5ff021cadcddfc61 (patch) | |
tree | 0cf6a2126cc549e79b1817365656415c31eb9e9b /drivers/watchdog/hpwdt.c | |
parent | watchdog: Adding support for ARM Primecell SP805 Watchdog (diff) | |
download | linux-adb23631a739b6a02eadf0ee5ff021cadcddfc61.tar.xz linux-adb23631a739b6a02eadf0ee5ff021cadcddfc61.zip |
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 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, 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; |