Commit 6485536bcf499839a54dcda8a8d47ea0bd29b375

Authored by Randy Dunlap
Committed by Linus Torvalds
1 parent 65a80b4c61

printk: fix new kernel-doc warnings

Fix kernel-doc warnings in printk.c:

Warning(kernel/printk.c:1422): No description found for parameter 'dumper'
Warning(kernel/printk.c:1422): Excess function parameter 'dump' description in 'kmsg_dump_register'
Warning(kernel/printk.c:1451): No description found for parameter 'dumper'
Warning(kernel/printk.c:1451): Excess function parameter 'dump' description in 'kmsg_dump_unregister'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -1412,7 +1412,7 @@
1412 1412  
1413 1413 /**
1414 1414 * kmsg_dump_register - register a kernel log dumper.
1415   - * @dump: pointer to the kmsg_dumper structure
  1415 + * @dumper: pointer to the kmsg_dumper structure
1416 1416 *
1417 1417 * Adds a kernel log dumper to the system. The dump callback in the
1418 1418 * structure will be called when the kernel oopses or panics and must be
... ... @@ -1442,7 +1442,7 @@
1442 1442  
1443 1443 /**
1444 1444 * kmsg_dump_unregister - unregister a kmsg dumper.
1445   - * @dump: pointer to the kmsg_dumper structure
  1445 + * @dumper: pointer to the kmsg_dumper structure
1446 1446 *
1447 1447 * Removes a dump device from the system. Returns zero on success and
1448 1448 * %-EINVAL otherwise.