]> git.baikalelectronics.ru Git - kernel.git/commit
vsprintf: split out '%p' handling logic
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 6 Jul 2008 23:16:15 +0000 (16:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 6 Jul 2008 23:16:15 +0000 (16:16 -0700)
commit51f93aae06f1f41d8c1174aeb215c064ff609ffb
tree577521810087b901f9207f9cdbbe884ced43e490
parent13eee79acf0b4972338b601267e97906f06f2728
vsprintf: split out '%p' handling logic

The actual code is the same, just split out into a helper function.
This makes it easier to read, and allows for simple future extension
of %p handling.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/vsprintf.c