Re: [PATCH 1/2] Implement %pR to print struct resource content

From: Benjamin Herrenschmidt
Date: Mon Oct 20 2008 - 04:34:21 EST


On Mon, 2008-10-20 at 09:06 +0200, Ingo Molnar wrote:
>
> > + * - 'R' For a struct resource pointer, it prints the range of
> > + * addresses (not the name nor the flags)
>
> > + case 'R':
> > + return resource_string(buf, end, ptr, field_width, precision, flags);
>
> small dtail: could you please also add the information that this is
> about the kernel-special resource_size_t integer type? That type is used
> more widely than just struct resource.
>

I'm not sure I understand ? It's a "struct resource" pointer, which is
what I wrote :-)

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/