Re: [PATCH 4/5 v2] x86 boot: show pfn addresses in hex not decimalin some kernel info printks

From: H. Peter Anvin
Date: Wed Jun 25 2008 - 01:06:52 EST


Linus Torvalds wrote:

And yes, to avoid messing with current users, maybe we should only do that with %#p (which I don't think anybody uses right now, although I suspect it actually adds the '0x' you'd like). The '#' thing is, of course, all about 'alternate forms'. But I worry that gcc warns about undefined formatting behavior.


FWIW, I did a pass over the tree stripping out all the 0x%p's and changing the behaviour about a year ago. It ended up sitting around and not be submitted, but I'd be happy to re-do it.

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/