diff options
author | Andi Kleen <andi@firstfloor.org> | 2008-10-16 07:02:02 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 20:21:32 +0200 |
commit | 20036fdcaf05fac0a84ed81a56906493a7d822e2 (patch) | |
tree | df06d92ffa8190dfafa59cbb7528564f8d0a055a /kernel | |
parent | SubmittingPatches: add a reference to Andi's OLS paper (diff) | |
download | linux-20036fdcaf05fac0a84ed81a56906493a7d822e2.tar.xz linux-20036fdcaf05fac0a84ed81a56906493a7d822e2.zip |
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')
-rw-r--r-- | kernel/printk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/printk.c b/kernel/printk.c index c3ab51dc9faf..fbd94bdaa74f 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, ...) |