[PATCH] context_tracking: fix spelling of "occurring" in comment

Chaitanya Mishra posted 1 patch 1 month, 1 week ago
kernel/context_tracking.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] context_tracking: fix spelling of "occurring" in comment
Posted by Chaitanya Mishra 1 month, 1 week ago
Fix a typo in the ct_user_enter() function comment where "occuring"
should be spelled "occurring".

Signed-off-by: Chaitanya Mishra <chaitanyamishra.ai@gmail.com>
---
 kernel/context_tracking.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/context_tracking.c b/kernel/context_tracking.c
index fb5be6e9b..4b6330c9d 100644
--- a/kernel/context_tracking.c
+++ b/kernel/context_tracking.c
@@ -558,7 +558,7 @@ void ct_user_enter(enum ctx_state state)
 	unsigned long flags;
 
 	/*
-	 * Some contexts may involve an exception occuring in an irq,
+	 * Some contexts may involve an exception occurring in an irq,
 	 * leading to that nesting:
 	 * ct_irq_enter() rcu_eqs_exit(true) rcu_eqs_enter(true) ct_irq_exit()
 	 * This would mess up the dyntick_nesting count though. And rcu_irq_*()
-- 
2.50.1 (Apple Git-155)
Re: [PATCH] context_tracking: fix spelling of "occurring" in comment
Posted by Paul E. McKenney 1 month, 1 week ago
On Mon, Dec 29, 2025 at 09:14:40AM +0530, Chaitanya Mishra wrote:
> Fix a typo in the ct_user_enter() function comment where "occuring"
> should be spelled "occurring".
> 
> Signed-off-by: Chaitanya Mishra <chaitanyamishra.ai@gmail.com>

Reviewed-by: Paul E. McKenney <paulmck@kernel.org>

> ---
>  kernel/context_tracking.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kernel/context_tracking.c b/kernel/context_tracking.c
> index fb5be6e9b..4b6330c9d 100644
> --- a/kernel/context_tracking.c
> +++ b/kernel/context_tracking.c
> @@ -558,7 +558,7 @@ void ct_user_enter(enum ctx_state state)
>  	unsigned long flags;
>  
>  	/*
> -	 * Some contexts may involve an exception occuring in an irq,
> +	 * Some contexts may involve an exception occurring in an irq,
>  	 * leading to that nesting:
>  	 * ct_irq_enter() rcu_eqs_exit(true) rcu_eqs_enter(true) ct_irq_exit()
>  	 * This would mess up the dyntick_nesting count though. And rcu_irq_*()
> -- 
> 2.50.1 (Apple Git-155)
>