Messages in this thread | | | Date | Tue, 1 Jul 2008 22:26:45 +0200 | From | Ingo Molnar <> | Subject | Re: [PATCH] x86: small unifications of address printing |
| |
* Vegard Nossum <vegard.nossum@gmail.com> wrote:
> (resend to lkml) > > From: Vegard Nossum <vegard.nossum@gmail.com> > Date: Tue, 1 Jul 2008 14:51:08 +0200 > Subject: [PATCH] x86: small unifications of address printing > > '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.
applied to tip/x86/debug - thanks Vegard.
Ingo
| |