vsprintf: use %pR, %pr instead of %pRt, %pRf
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Tue, 27 Oct 2009 19:26:47 +0000 (13:26 -0600)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 4 Nov 2009 21:06:41 +0000 (13:06 -0800)
commitc7dabef8a2c59e6a3de9d66fc35fb6a43ef7172d
tree0f8b0021e693a0e380ef9026083b59d0909dffc6
parent4fd8bdc567e70c02fab7eeaaa7d2a64232add789
vsprintf: use %pR, %pr instead of %pRt, %pRf

Jesse accidentally applied v1 [1] of the patchset instead of v2 [2].  This
is the diff between v1 and v2.

The changes in this patch are:
    - tidied vsprintf stack buffer to shrink and compute size more
      accurately
    - use %pR for decoding and %pr for "raw" (with type and flags) instead
      of adding %pRt and %pRf

[1] http://lkml.org/lkml/2009/10/6/491
[2] http://lkml.org/lkml/2009/10/13/441

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
13 files changed:
arch/ia64/pci/pci.c
arch/x86/pci/acpi.c
arch/x86/pci/i386.c
drivers/pci/pci.c
drivers/pci/probe.c
drivers/pci/quirks.c
drivers/pci/setup-bus.c
drivers/pci/setup-res.c
drivers/pnp/quirks.c
drivers/pnp/resource.c
drivers/pnp/support.c
drivers/pnp/system.c
lib/vsprintf.c