Re: [PATCH v2 3/9] vsprintf: add %pR decoding and %pr for raw struct resource

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 13 October 2009 01:40:08 pm Joe Perches wrote:
> 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?

I followed the example of F/f, S/s, M/m, etc.  I could
easily go back to %pR/%pRf or something, but I don't know
if it's worth the trouble.

Bjorn
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux