git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d8ad5d
)
x86: small unifications of address printing
author
Vegard Nossum
<vegard.nossum@gmail.com>
Tue, 1 Jul 2008 13:38:13 +0000
(15:38 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Tue, 1 Jul 2008 14:21:41 +0000
(16:21 +0200)
'man 3 printf' tells me that %p should be printed as if by %#x, but
this is not true for the kernel, which does not use the '0x' prefix
for the %p conversion specifier.
A small cast to (void *) is also prettier than #ifdef/#else/#endif.
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
No differences found