[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080701202645.GF4896@elte.hu>
Date: Tue, 1 Jul 2008 22:26:45 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Vegard Nossum <vegard.nossum@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86: small unifications of address printing
* Vegard Nossum <vegard.nossum@...il.com> wrote:
> (resend to lkml)
>
> From: Vegard Nossum <vegard.nossum@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists