projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e2045e
)
docs: scheduler: completion: Fix minor error in pseudo-code
author
Rick Wertenbroek
<rick.wertenbroek@gmail.com>
Thu, 6 Jul 2023 11:40:55 +0000
(13:40 +0200)
committer
Jonathan Corbet
<corbet@lwn.net>
Fri, 14 Jul 2023 19:08:07 +0000
(13:08 -0600)
Add missing address-of (&) operator in pseudo-code.
Signed-off-by: Rick Wertenbroek <rick.wertenbroek@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link:
https://lore.kernel.org/r/20230706114057.1120335-1-rick.wertenbroek@gmail.com
Documentation/scheduler/completion.rst
patch
|
blob
|
history
diff --git
a/Documentation/scheduler/completion.rst
b/Documentation/scheduler/completion.rst
index 9f039b4f4b09beb227ea8b48183801674de6e6f4..f19aca2062bd1f8556e7558c1c2b5c32487894dc 100644
(file)
--- a/
Documentation/scheduler/completion.rst
+++ b/
Documentation/scheduler/completion.rst
@@
-157,7
+157,7
@@
A typical usage scenario is::
/* run non-dependent code */ /* do setup */
- wait_for_completion(&setup_done); complete(setup_done);
+ wait_for_completion(&setup_done); complete(
&
setup_done);
This is not implying any particular order between wait_for_completion() and
the call to complete() - if the call to complete() happened before the call