[PATCH] rcu: fix typo "upto" in comment

Hemanth Selam posted 1 patch 2 weeks, 4 days ago
kernel/rcu/srcutree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] rcu: fix typo "upto" in comment
Posted by Hemanth Selam 2 weeks, 4 days ago
Correct "upto" to "up to", reported by scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt.  Only touches comments, no code
changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 kernel/rcu/srcutree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/rcu/srcutree.c b/kernel/rcu/srcutree.c
index ed204b3f4b84..01f19bb17dd6 100644
--- a/kernel/rcu/srcutree.c
+++ b/kernel/rcu/srcutree.c
@@ -624,7 +624,7 @@ module_param(srcu_retry_check_delay, ulong, 0444);
 #define SRCU_UL_CLAMP_LO(val, low)	((val) > (low) ? (val) : (low))
 #define SRCU_UL_CLAMP_HI(val, high)	((val) < (high) ? (val) : (high))
 #define SRCU_UL_CLAMP(val, low, high)	SRCU_UL_CLAMP_HI(SRCU_UL_CLAMP_LO((val), (low)), (high))
-// per-GP-phase no-delay instances adjusted to allow non-sleeping poll upto
+// per-GP-phase no-delay instances adjusted to allow non-sleeping poll up to
 // one jiffies time duration. Mult by 2 is done to factor in the srcu_get_delay()
 // called from process_srcu().
 #define SRCU_DEFAULT_MAX_NODELAY_PHASE_ADJUSTED	\
-- 
2.48.1
Re: [PATCH] rcu: fix typo "upto" in comment
Posted by Paul E. McKenney 2 weeks, 3 days ago
On Mon, Sep 07, 2026 at 12:06:22PM +0530, Hemanth Selam wrote:
> Correct "upto" to "up to", reported by scripts/checkpatch.pl using the
> misspelling list in scripts/spelling.txt.  Only touches comments, no code
> changes.
> 
> Assisted-by: Cursor:claude-opus-5
> Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>

Good catch, queued, thank you!

							Thanx, Paul

> ---
>  kernel/rcu/srcutree.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kernel/rcu/srcutree.c b/kernel/rcu/srcutree.c
> index ed204b3f4b84..01f19bb17dd6 100644
> --- a/kernel/rcu/srcutree.c
> +++ b/kernel/rcu/srcutree.c
> @@ -624,7 +624,7 @@ module_param(srcu_retry_check_delay, ulong, 0444);
>  #define SRCU_UL_CLAMP_LO(val, low)	((val) > (low) ? (val) : (low))
>  #define SRCU_UL_CLAMP_HI(val, high)	((val) < (high) ? (val) : (high))
>  #define SRCU_UL_CLAMP(val, low, high)	SRCU_UL_CLAMP_HI(SRCU_UL_CLAMP_LO((val), (low)), (high))
> -// per-GP-phase no-delay instances adjusted to allow non-sleeping poll upto
> +// per-GP-phase no-delay instances adjusted to allow non-sleeping poll up to
>  // one jiffies time duration. Mult by 2 is done to factor in the srcu_get_delay()
>  // called from process_srcu().
>  #define SRCU_DEFAULT_MAX_NODELAY_PHASE_ADJUSTED	\
> -- 
> 2.48.1
>