projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff707df
)
printk: htmldocs: add missing description
author
John Ogness
<john.ogness@linutronix.de>
Tue, 22 Nov 2022 08:55:23 +0000
(10:01 +0106)
committer
Petr Mladek
<pmladek@suse.com>
Fri, 2 Dec 2022 10:25:02 +0000
(11:25 +0100)
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
kernel/printk/printk.c
patch
|
blob
|
history
diff --git
a/kernel/printk/printk.c
b/kernel/printk/printk.c
index 503d55ccc835cb214a4694aa0ff3ef0616aa9d1f..9ec1017664718c3ea7304fca2c40a9fefbe00a11 100644
(file)
--- 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()
*/