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:
Rick Wertenbroek 2023-07-06 13:40:55 +02:00 committed by Jonathan Corbet
parent 5e2045ee4d
commit f98b161b0d
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ A typical usage scenario is::
/* run non-dependent code */ /* do setup */ /* 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 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 the call to complete() - if the call to complete() happened before the call