kernel/printk/printk.c: Fix W=1 kernel-doc warning
PATCH 1/1 kernel/printk/printk.c: Fix W=1 kernel-doc warning
Fix W=1 kernel-doc warning:
kernel/printk/printk.c:
- Include function parameter in console_lock_spinning_disable_and_check()
Signed-off-by Anuradha Weeraman <[email protected]>
--- kernel/printk/printk.c | 1 + 1 file changed, 1 insertion(+)
kernel/printk/printk.c +1 -0
@@ -1891,6 +1891,7 @@ static void console_lock_spinning_enable(void)/** * console_lock_spinning_disable_and_check - mark end of code where another * thread was able to busy wait and check if there is a waiter +* @cookie: cookie returned from console_srcu_read_lock() * * This is called at the end of the section where spinning is allowed. * It has two functions. First, it is a signal that it is no longer
Signature · 1 line
2.39.0
Quoted 6 lines · Anuradha Weeraman
Fix W=1 kernel-doc warning:
kernel/printk/printk.c:
- Include function parameter inconsole_lock_spinning_disable_and_check()Signed-off-by Anuradha Weeraman <[email protected]>
Great catch!
Reviewed-by Petr Mladek <[email protected]>
JFYI, the patch has been comitted into printk/linux.git, branch rework//console-list-lock.
I am going to add it into a pull request for 6.2-rc5 together with another related fix.
Best Regards,
Petr