]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
kernel/printk/printk.c: Fix W=1 kernel-doc warning
authorAnuradha Weeraman <anuradha@debian.org>
Mon, 16 Jan 2023 12:56:34 +0000 (18:26 +0530)
committerPetr Mladek <pmladek@suse.com>
Mon, 16 Jan 2023 15:59:17 +0000 (16:59 +0100)
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 <anuradha@debian.org>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20230116125635.374567-1-anuradha@debian.org
kernel/printk/printk.c

index 3f7c8ed96512b6f3efe2f9e7813cad114f3dad68..39221b0f918dbd697d60622150f49193db07ad0b 100644 (file)
@@ -1892,6 +1892,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