Skip to contentSkip to conversation

kernel: fix typo "upto" in comment

PATCH Applied Hemanth Selam 3 participants 3 messages Sep 7 – Sep 8 Workqueue

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel: fix typo "upto" in comment

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
---
 kernel/workqueue.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/workqueue.c +1 -1
index 1ae3732a2c51..b6afb7cee661 100644
@@ -8264,7 +8264,7 @@ static void __init wq_cpu_intensive_thresh_init(void)
 	 * lot slower CPUs including microcontrollers where the threshold is way
 	 * too low.
 	 *
-	 * Let's scale up the threshold upto 1 second if BogoMips is below 4000.
+	 * Let's scale up the threshold up to 1 second if BogoMips is below 4000.
 	 * This is by no means accurate but it doesn't have to be. The mechanism
 	 * is still useful even when the threshold is fully scaled up. Also, as
 	 * the reports would usually be applicable to everyone, some machines
Signature · 1 line
2.48.1
#1 lore raw
Quoted 3 lines · Hemanth Selam

Correct "upto" to "up to", reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.

Ok.

Quoted 12 lines
Assisted-by Cursor:claude-opus-5

---
kernel/workqueue.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
kernel/workqueue.c +0 -0
index 1ae3732a2c51..b6afb7cee661 100644

kernel/workqueue.c static void __init wq_cpu_intensive_thresh_init(void) · line 8267

Quoted 5 lines
kernel/workqueue.c +1 -1
@@ -8264,7 +8264,7 @@ static void __init wq_cpu_intensive_thresh_init(void)
 	 * lot slower CPUs including microcontrollers where the threshold is way
 	 * too low.
 	 *
-	 * Let's scale up the threshold upto 1 second if BogoMips is below 4000.
+	 * Let's scale up the threshold up to 1 second if BogoMips is below 4000.

Really.

Sigh.

kernel/workqueue.c static void __init wq_cpu_intensive_thresh_init(void) · line 8270

Quoted 4 lines
kernel/workqueue.c +0 -0
 	 * This is by no means accurate but it doesn't have to be. The mechanism
 	 * is still useful even when the threshold is fully scaled up. Also, as
 	 * the reports would usually be applicable to everyone, some machines

--- Thanks!
https://lore.kernel.org/all/[email protected]/