Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

John Ogness and committed by
Petr Mladek
5074ffbe ff707dfd

+2
+2
kernel/printk/printk.c
··· 282 282 * Use for_each_console_srcu() to iterate the console list 283 283 * 284 284 * Context: Any context. 285 + * Return: A cookie to pass to console_srcu_read_unlock(). 285 286 */ 286 287 int console_srcu_read_lock(void) 287 288 { ··· 293 292 /** 294 293 * console_srcu_read_unlock - Unregister an old reader from 295 294 * the SRCU-protected console list 295 + * @cookie: cookie returned from console_srcu_read_lock() 296 296 * 297 297 * Counterpart to console_srcu_read_lock() 298 298 */