diff options
| author | Randy Dunlap <[email protected]> | 2021-09-08 02:58:51 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-09-08 18:50:26 +0000 |
| commit | 83a29beb23bcc770a3838fc33970efbaaad26bf7 (patch) | |
| tree | b04dc1f455758296b083995612a1e23872da101d /lib/dump_stack.c | |
| parent | lib/test: convert test_sort.c to use KUnit (diff) | |
| download | kernel-83a29beb23bcc770a3838fc33970efbaaad26bf7.tar.gz kernel-83a29beb23bcc770a3838fc33970efbaaad26bf7.zip | |
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/[email protected]
Signed-off-by: Randy Dunlap <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
| -rw-r--r-- | lib/dump_stack.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/dump_stack.c b/lib/dump_stack.c index cd3387bb34e5..6b7f1bf6715d 100644 --- a/lib/dump_stack.c +++ b/lib/dump_stack.c @@ -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. */ |
