Implement %pR to print struct resource content
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Oct 2008 04:07:34 +0000 (15:07 +1100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Oct 2008 16:12:32 +0000 (09:12 -0700)
commit332d2e7834986a9326ec3fa6a91641daef81746c
tree06a7bdc9675485577080b5af964fd6480a2670fa
parent88e366217e8f75bd7eab64f4aa4ff9583070b0af
Implement %pR to print struct resource content

Add a %pR option to the kernel vsnprintf that prints the range of
addresses inside a struct resource passed by pointer.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/vsprintf.c