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

H. Peter Anvin
2008-10-17T06:39:55Z

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