diff options
author | Andi Kleen <andi@firstfloor.org> | 2008-10-16 01:02:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 14:21:32 -0400 |
commit | 20036fdcaf05fac0a84ed81a56906493a7d822e2 (patch) | |
tree | df06d92ffa8190dfafa59cbb7528564f8d0a055a /kernel | |
parent | 9536727ef696861b205834dd2e01456b91088cb7 (diff) |
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) | |||
593 | * | 593 | * |
594 | * See also: | 594 | * See also: |
595 | * printf(3) | 595 | * printf(3) |
596 | * | ||
597 | * See the vsnprintf() documentation for format string extensions over C99. | ||
596 | */ | 598 | */ |
597 | 599 | ||
598 | asmlinkage int printk(const char *fmt, ...) | 600 | asmlinkage int printk(const char *fmt, ...) |