mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-16 18:26:42 +00:00
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
This commit is contained in:
parent
5e2045ee4d
commit
f98b161b0d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user