Messages in this thread | | | Subject | Re: [PATCH v2 3/9] vsprintf: add %pR decoding and %pr for raw struct resource | From | Joe Perches <> | Date | Tue, 13 Oct 2009 12:40:08 -0700 |
| |
On Tue, 2009-10-13 at 13:22 -0600, Bjorn Helgaas wrote: > This adds support for printing struct resource type and flag information. > For example, "%pR" looks like "[mem 0xf5df0000-0xf5df3fff 64bit pref]", > and "%pr" looks like "[mem 0xff5e2000-0xff5e2007 flags 0x201]".
%p[A-Za-z0-9] is a relatively limited resource.
Isn't it better to avoid using multiple characters for a single type?
| |