Re: [PATCH v1] once: Fix trivia typo Not -> Note
From: Andy Shevchenko
Date: Fri Sep 04 2020 - 05:58:11 EST
On Fri, Jul 31, 2020 at 02:29:51PM +0300, Andy Shevchenko wrote:
> Fix trivia typo Not -> Note in the comment to DO_ONCE().
Any comments?
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---
> include/linux/once.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/once.h b/include/linux/once.h
> index 9225ee6d96c7..095c6debd63b 100644
> --- a/include/linux/once.h
> +++ b/include/linux/once.h
> @@ -16,7 +16,7 @@ void __do_once_done(bool *done, struct static_key_true *once_key,
> * out the condition into a nop. DO_ONCE() guarantees type safety of
> * arguments!
> *
> - * Not that the following is not equivalent ...
> + * Note that the following is not equivalent ...
> *
> * DO_ONCE(func, arg);
> * DO_ONCE(func, arg);
> --
> 2.27.0
>
--
With Best Regards,
Andy Shevchenko