Commit 83a29beb authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

lib/dump_stack: correct kernel-doc notation

Fix kernel-doc warnings in dump_stack.c:

lib/dump_stack.c:97: warning: Function parameter or member 'log_lvl' not described in 'dump_stack_lvl'
lib/dump_stack.c:97: warning: expecting prototype for dump_stack(). Prototype was for dump_stack_lvl() instead

Link: https://lkml.kernel.org/r/20210809051643.17567-1-rdunlap@infradead.orgSigned-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 36f33b56
...@@ -89,7 +89,8 @@ static void __dump_stack(const char *log_lvl) ...@@ -89,7 +89,8 @@ static void __dump_stack(const char *log_lvl)
} }
/** /**
* dump_stack - dump the current task information and its stack trace * dump_stack_lvl - dump the current task information and its stack trace
* @log_lvl: log level
* *
* Architectures can override this implementation by implementing its own. * Architectures can override this implementation by implementing its own.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment