Skip to contentSkip to conversation

printk.c: fix kernel-doc warnings

PATCH New Randy Dunlap 1 participant 1 message Jun 30, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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'

---
 kernel/printk.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/printk.c +1 -1
@@ -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
  *