summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAnuradha Weeraman <anuradha@debian.org>2023-01-16 18:26:34 +0530
committerPetr Mladek <pmladek@suse.com>2023-01-16 16:59:17 +0100
commit4fe59a130c112460626a6a8b9232aa580d9b8efc (patch)
tree4d5b770364904717cb24f85aa0a3568e25215aa0 /kernel
parent3ef5abd9b5c738bc6fa9a65e40331ef2cb03ad9c (diff)
downloadlinux-4fe59a130c112460626a6a8b9232aa580d9b8efc.tar.bz2
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 <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
Diffstat (limited to 'kernel')
-rw-r--r--kernel/printk/printk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c
index 3f7c8ed96512..39221b0f918d 100644
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
@@ -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