mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
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
This commit is contained in:
parent
ff707dfd79
commit
5074ffbec6
1 changed files with 2 additions and 0 deletions
|
@ -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()
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue