From: Kulikov Vasiliy Date: Wed, 14 Jul 2010 18:06:30 +0000 (+0400) Subject: watchdog: hpwdt: formatting of pointers in printk() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=adb23631a739b6a02eadf0ee5ff021cadcddfc61;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git watchdog: hpwdt: formatting of pointers in printk() Use %p instead of %08x in printk(). Signed-off-by: Kulikov Vasiliy Signed-off-by: Wim Van Sebroeck --- 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;