projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a37027
)
watchdog: hpwdt: formatting of pointers in printk()
author
Kulikov Vasiliy
<segooon@gmail.com>
Wed, 14 Jul 2010 18:06:30 +0000
(22:06 +0400)
committer
Wim Van Sebroeck
<wim@iguana.be>
Sun, 8 Aug 2010 18:22:44 +0000
(18:22 +0000)
Use %p instead of %08x in printk().
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/hpwdt.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/watchdog/hpwdt.c
b/drivers/watchdog/hpwdt.c
index 809e7167a6243fa2b1aeb37c6678be21faf3b01c..fd312fc8940e12f96246427a7ce3b855edcca7cf 100644
(file)
--- 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;