Re: [PATCH tip/core/rcu 10/10] rcu: Fix various typos in comments
From: Paul E. McKenney
Date: Wed May 12 2021 - 16:34:40 EST
On Wed, May 12, 2021 at 08:23:17PM +0200, Ingo Molnar wrote:
>
> * Paul E. McKenney <paulmck@xxxxxxxxxx> wrote:
>
> > From: Ingo Molnar <mingo@xxxxxxxxxx>
> >
> > Fix ~12 single-word typos in RCU code comments.
> >
> > [ paulmck: Apply feedback from Randy Dunlap. ]
> > Reviewed-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> > Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
> > Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxx>
> > ---
> > kernel/rcu/srcutree.c | 4 ++--
> > kernel/rcu/sync.c | 4 ++--
> > kernel/rcu/tasks.h | 8 ++++----
> > kernel/rcu/tree.c | 4 ++--
> > kernel/rcu/tree.h | 2 +-
> > kernel/rcu/tree_plugin.h | 2 +-
> > .../selftests/rcutorture/formal/srcu-cbmc/src/locks.h | 2 +-
> > 7 files changed, 13 insertions(+), 13 deletions(-)
>
> There's one more I missed.
Good eyes, and I have folded this in, thank you!
Thanx, Paul
> Thanks,
>
> Ingo
>
> Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
> ---
> kernel/rcu/tree.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
> index 60ad78560be3..a7dd763a70c3 100644
> --- a/kernel/rcu/tree.c
> +++ b/kernel/rcu/tree.c
> @@ -3848,7 +3848,7 @@ EXPORT_SYMBOL_GPL(start_poll_synchronize_rcu);
> *
> * If a full RCU grace period has elapsed since the earlier call from
> * which oldstate was obtained, return @true, otherwise return @false.
> - * If @false is returned, it is the caller's responsibilty to invoke this
> + * If @false is returned, it is the caller's responsibility to invoke this
> * function later on until it does return @true. Alternatively, the caller
> * can explicitly wait for a grace period, for example, by passing @oldstate
> * to cond_synchronize_rcu() or by directly invoking synchronize_rcu().
>