]> git.karo-electronics.de Git - karo-tx-linux.git/commit
printk: synchronize %p formatting documentation
authorMartin Kletzander <mkletzan@redhat.com>
Wed, 21 Oct 2015 22:03:49 +0000 (09:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:03:49 +0000 (09:03 +1100)
commit268e6b6c0f86f32a52d89b938e663df11f7cbfb9
treea84ea386c2d6f60b57b6c8505419327c6a555e76
parentc0aa3930ed5e9987cd82a055182d94d8f53b83f6
printk: synchronize %p formatting documentation

Move all pointer-formatting documentation to one place in the code and one
place in the documentation instead of keeping it in three places with
different level of completeness.  Documentation/printk-formats.txt has
detailed information about each modifier, docstring above pointer() has
short descriptions of them (as that is the function dealing with %p) and
docstring above vsprintf() is removed as redundant.  Both docstrings in
the code that were modified are updated with a reminder of updating the
documentation upon any further change.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/printk-formats.txt
lib/vsprintf.c