mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 07/14] timers: fix typos in comments
@ 2026-09-07  6:55 Hemanth Selam
  0 siblings, 0 replies; only message in thread
From: Hemanth Selam @ 2026-09-07  6:55 UTC (permalink / raw)
  To: John Stultz, Thomas Gleixner, Stephen Boyd, Miroslav Lichvar,
	Anna-Maria Behnsen, Frederic Weisbecker
  Cc: linux-kernel

Fix typos in comments, 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/time/clocksource.c     | 2 +-
 kernel/time/hrtimer.c         | 2 +-
 kernel/time/timekeeping.c     | 4 ++--
 kernel/time/timer_migration.c | 2 +-
 kernel/time/timer_migration.h | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c
index f1253f5795c6..c269342d2f64 100644
--- a/kernel/time/clocksource.c
+++ b/kernel/time/clocksource.c
@@ -532,7 +532,7 @@ static void clocksource_tick_stable(struct clocksource *cs)
 		cs->tick_stable(cs);
 }
 
-/* Conditionaly enable high resolution mode */
+/* Conditionally enable high resolution mode */
 static void clocksource_enable_highres(struct clocksource *cs)
 {
 	if ((cs->flags & CLOCK_SOURCE_VALID_FOR_HRES) ||
diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c
index 530d61257b9a..256a628f2d9f 100644
--- a/kernel/time/hrtimer.c
+++ b/kernel/time/hrtimer.c
@@ -1576,7 +1576,7 @@ static inline bool hrtimer_check_user_timer(struct hrtimer *timer)
 }
 
 /**
- * hrtimer_start_range_ns_user - (re)start an user controlled hrtimer
+ * hrtimer_start_range_ns_user - (re)start a user controlled hrtimer
  * @timer:	the timer to be added
  * @tim:	expiry time
  * @delta_ns:	"slack" range for the timer
diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
index ea2e6e55f37b..503da53e3104 100644
--- a/kernel/time/timekeeping.c
+++ b/kernel/time/timekeeping.c
@@ -431,7 +431,7 @@ static void tk_setup_internals(struct timekeeper *tk, struct clocksource *clock)
 	if (IS_ENABLED(CONFIG_GENERIC_CLOCKEVENTS_COUPLED) &&
 	    clock->flags & CLOCK_SOURCE_HAS_COUPLED_CLOCK_EVENT) {
 		/*
-		 * Aim for an one hour maximum delta and use KHz to handle
+		 * Aim for a one hour maximum delta and use KHz to handle
 		 * clocksources with a frequency above 4GHz correctly as
 		 * the frequency argument of clocks_calc_mult_shift() is u32.
 		 */
@@ -1902,7 +1902,7 @@ int timekeeping_notify(struct clocksource *clock)
 	if (tk->tkr_mono.clock == clock)
 		return 0;
 
-	/* Disable inlined reads accross the clocksource switch */
+	/* Disable inlined reads across the clocksource switch */
 	clocksource_disable_inline_read();
 
 	stop_machine(change_clocksource, clock, NULL);
diff --git a/kernel/time/timer_migration.c b/kernel/time/timer_migration.c
index 059d43355e65..9a8fb19029ba 100644
--- a/kernel/time/timer_migration.c
+++ b/kernel/time/timer_migration.c
@@ -1769,7 +1769,7 @@ static void tmigr_connect_child_parent(struct tmigr_hierarchy *hier, struct tmig
 		 * The previous top level had prepared its groupmask already,
 		 * simply account it in advance as the first child. If some groups
 		 * have been created between the old and new root due to node
-		 * mismatch, the new root's child will be intialized accordingly.
+		 * mismatch, the new root's child will be initialized accordingly.
 		 */
 		parent->num_children = 1;
 	}
diff --git a/kernel/time/timer_migration.h b/kernel/time/timer_migration.h
index c9c1c29f011d..d30731836006 100644
--- a/kernel/time/timer_migration.h
+++ b/kernel/time/timer_migration.h
@@ -8,7 +8,7 @@
 /**
  * struct tmigr_hierarchy - a hierarchy associated to a given CPU capacity.
  *                          Homogeneous systems have only one hierarchy.
- *                          Heterogenous have one hierarchy per CPU capacity.
+ *                          Heterogeneous have one hierarchy per CPU capacity.
  * @cpumask:	CPUs belonging to this hierarchy
  * @root:	The current root of the hierarchy
  * @capacity:	CPU capacity associated to this hierarchy

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-07  6:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-07  6:55 [PATCH 07/14] timers: fix typos in comments Hemanth Selam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®