Re: [PATCH] docs: scheduler: completion: Fix minor error in pseudo-code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rick Wertenbroek <rick.wertenbroek@xxxxxxxxx> writes:

> Add missing address-of (&) operator in pseudo-code.
>
> Signed-off-by: Rick Wertenbroek <rick.wertenbroek@xxxxxxxxx>
> ---
>  Documentation/scheduler/completion.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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);
>  

Applied, thanks.

jon



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux