vsprintf: move %pR resource printf_specs off the stack
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Fri, 5 Mar 2010 17:47:37 +0000 (10:47 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 7 Mar 2010 01:53:07 +0000 (17:53 -0800)
commit4da0b66c6e9ea7ba78a19f9f186779826d89f8b0
tree467fe1886f35dd199a7ba8b95ed5a06e2bfe83f3
parentb89dc5d6b0981c1096ccffbf8f4413c7bb1bcc0a
vsprintf: move %pR resource printf_specs off the stack

This adds separate I/O and memory specs, so we don't have to change the
field width in a shared spec, which then lets us make all the specs const
and static, since they never change.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/vsprintf.c