diff options
author | John Ogness <john.ogness@linutronix.de> | 2022-11-22 10:01:23 +0106 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2022-12-02 11:25:02 +0100 |
commit | 5074ffbec67ac592614901771d3a15e1198d759d (patch) | |
tree | 58d79816dbafac58333a1777e94bdab6519a9eae /kernel/printk | |
parent | ff707dfd79f7d984909c8e003a139168073a388e (diff) |
printk: htmldocs: add missing description
Variable and return descriptions were missing from the SRCU read
lock functions. Add them.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/87zgcjpdvo.fsf@jogness.linutronix.de
Diffstat (limited to 'kernel/printk')
-rw-r--r-- | kernel/printk/printk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 503d55ccc835..9ec101766471 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -282,6 +282,7 @@ EXPORT_SYMBOL(console_list_unlock); * Use for_each_console_srcu() to iterate the console list * * Context: Any context. + * Return: A cookie to pass to console_srcu_read_unlock(). */ int console_srcu_read_lock(void) { @@ -292,6 +293,7 @@ EXPORT_SYMBOL(console_srcu_read_lock); /** * console_srcu_read_unlock - Unregister an old reader from * the SRCU-protected console list + * @cookie: cookie returned from console_srcu_read_lock() * * Counterpart to console_srcu_read_lock() */ |