diff options
author | Rick Wertenbroek <rick.wertenbroek@gmail.com> | 2023-07-06 13:40:55 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2023-07-14 13:08:07 -0600 |
commit | f98b161b0d019e5b14c633503724cdc8a73c2480 (patch) | |
tree | d24e6e52f0e38483745d008425c3655d36832ae3 /Documentation/scheduler | |
parent | 5e2045ee4d8eb38e20b8e51df06641b674f68019 (diff) |
docs: scheduler: completion: Fix minor error in pseudo-code
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
Diffstat (limited to 'Documentation/scheduler')
-rw-r--r-- | Documentation/scheduler/completion.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/scheduler/completion.rst b/Documentation/scheduler/completion.rst index 9f039b4f4b09..f19aca2062bd 100644 --- 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 |