2012-06-30 22:37:59

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] printk.c: fix kernel-doc warnings

From: Randy Dunlap <[email protected]>

Fix kernel-doc warnings in printk.c: use correct parameter name.

Warning(kernel/printk.c:2429): No description found for parameter 'buf'
Warning(kernel/printk.c:2429): Excess function parameter 'line' description in 'kmsg_dump_get_buffer'

Signed-off-by: Randy Dunlap <[email protected]>
---
kernel/printk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- lnx-35-rc4.orig/kernel/printk.c
+++ lnx-35-rc4/kernel/printk.c
@@ -2409,7 +2409,7 @@ EXPORT_SYMBOL_GPL(kmsg_dump_get_line);
* kmsg_dump_get_buffer - copy kmsg log lines
* @dumper: registered kmsg dumper
* @syslog: include the "<4>" prefixes
- * @line: buffer to copy the line to
+ * @buf: buffer to copy the line to
* @size: maximum size of the buffer
* @len: length of line placed into buffer
*