diff --git a/lib/dump_stack.c b/lib/dump_stack.c
index cd3387bb34e56cc933d1436548f8cc9696ca486d..6b7f1bf6715d8abb493a04ede2539018eaef3287 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.
  */