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

From: Benjamin Herrenschmidt
Date: Mon Oct 13 2008 - 22:16:00 EST


On Mon, 2008-10-13 at 18:45 -0700, David Miller wrote:
> From: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
> Date: Tue, 14 Oct 2008 12:41:27 +1100
>
> > It has to be a pointer tho, thus what do we want ? Something that takes
> > a pointer to a resource_size_t or to a whole struct resource ? In the
> > later case, do we want to print the whole flags too ?
>
> Yes, that's sort of the ugly aspect of this.
>
> Taking a resource would be cool, and you could use some post modifier
> character to say which part to print

That's a good idea, there's quite a few areas where we don't want the
flags.. I'll see if I can cook up something after I've finished
preparing the powerpc tree for Linus to pull.

Cheers,
Ben.


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