On Mon, Mar 30, 2015 at 4:46 PM, Joe Perches <[email protected]> wrote:

>   *     try_wait_for_completion - try to decrement a completion without 
> blocking
>   *     @x:     completion structure
>   *
> - *     Return: 0 if a decrement cannot be done without blocking
> - *              1 if a decrement succeeded.
> + *     Return: true if a decrement cannot be done without blocking
> + *             false if a decrement succeeded.

Hi Joe,

The boolean logic was reversed in this comment. The function should be
returning false if a decrement cannot be done without blocking, and
true if a decrement succeeded.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to