aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAndi Kleen <andi@firstfloor.org>2008-10-16 01:02:02 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 14:21:32 -0400
commit20036fdcaf05fac0a84ed81a56906493a7d822e2 (patch)
treedf06d92ffa8190dfafa59cbb7528564f8d0a055a /kernel
parent9536727ef696861b205834dd2e01456b91088cb7 (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.c2
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
598asmlinkage int printk(const char *fmt, ...) 600asmlinkage int printk(const char *fmt, ...)