summaryrefslogtreecommitdiffstats
path: root/kernel/printk.c
diff options
context:
space:
mode:
authorAndi Kleen <andi@firstfloor.org>2008-10-15 22:02:02 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 11:21:32 -0700
commit20036fdcaf05fac0a84ed81a56906493a7d822e2 (patch)
treedf06d92ffa8190dfafa59cbb7528564f8d0a055a /kernel/printk.c
parent9536727ef696861b205834dd2e01456b91088cb7 (diff)
downloadop-kernel-dev-20036fdcaf05fac0a84ed81a56906493a7d822e2.zip
op-kernel-dev-20036fdcaf05fac0a84ed81a56906493a7d822e2.tar.gz
Add kerneldoc documentation for new printk format extensions
Add documentation in kerneldoc for new printk format extensions This patch documents the new %pS/%pF options in printk in kernel doc. Hope I didn't miss any other extension. Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/printk.c')
-rw-r--r--kernel/printk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/printk.c b/kernel/printk.c
index c3ab51d..fbd94bd 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -593,6 +593,8 @@ static int have_callable_console(void)
*
* See also:
* printf(3)
+ *
+ * See the vsnprintf() documentation for format string extensions over C99.
*/
asmlinkage int printk(const char *fmt, ...)
OpenPOWER on IntegriCloud