]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb7389b18919d238ea8b47bc52f9b6f5ac77d15cc
tree467fe1886f35dd199a7ba8b95ed5a06e2bfe83f3
parent01e4bcbd4514814f89a974373d1f1abe42834f83
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