aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/scheduler
diff options
context:
space:
mode:
authorRick Wertenbroek <rick.wertenbroek@gmail.com>2023-07-06 13:40:55 +0200
committerJonathan Corbet <corbet@lwn.net>2023-07-14 13:08:07 -0600
commitf98b161b0d019e5b14c633503724cdc8a73c2480 (patch)
treed24e6e52f0e38483745d008425c3655d36832ae3 /Documentation/scheduler
parentMerge branch 'hu' into docs-mw (diff)
downloadwireguard-linux-f98b161b0d019e5b14c633503724cdc8a73c2480.tar.xz
wireguard-linux-f98b161b0d019e5b14c633503724cdc8a73c2480.zip
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.rst2
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