Re: [PATCH] Fix broken debug output reserve_region_with_split()

From: H. Peter Anvin
Date: Fri Oct 17 2008 - 02:39:56 EST


Benjamin Herrenschmidt wrote:

I hesitated, but DaveM convinced me if you get a range of IO ports such
as 138-139, do you know on a first look that it's hex ? :-)


Yes. I mean, at least in the x86 world, we talk about "port eighty" for delays, which is really port 128 (0x80).

and the 04 would be parsed as flags, the same way we do %04x. And then if you want the 0x, you can use %p#08R..

Shouldn't we be consistent and have resources always be printed using
the same format ?

Yes, please.

-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/