Re: [PATCH tip/core/rcu 10/10] rcu: Fix various typos in comments
From: Ingo Molnar
Date: Wed May 12 2021 - 16:02:40 EST
* 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.
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().