Skip to content

Commit 5074ffb

Browse files
jognesspmladek
authored andcommitted
printk: htmldocs: add missing description
Variable and return descriptions were missing from the SRCU read lock functions. Add them. Signed-off-by: John Ogness <[email protected]> Signed-off-by: Petr Mladek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent ff707df commit 5074ffb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kernel/printk/printk.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ EXPORT_SYMBOL(console_list_unlock);
282282
* Use for_each_console_srcu() to iterate the console list
283283
*
284284
* Context: Any context.
285+
* Return: A cookie to pass to console_srcu_read_unlock().
285286
*/
286287
int console_srcu_read_lock(void)
287288
{
@@ -292,6 +293,7 @@ EXPORT_SYMBOL(console_srcu_read_lock);
292293
/**
293294
* console_srcu_read_unlock - Unregister an old reader from
294295
* the SRCU-protected console list
296+
* @cookie: cookie returned from console_srcu_read_lock()
295297
*
296298
* Counterpart to console_srcu_read_lock()
297299
*/

0 commit comments

Comments
 (0)