Re: [PATCH] x86: small unifications of address printing

Ingo Molnar
2008-07-01T20:27:11Z

* 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