timers: fix typos in comments
Subsystems (2)
PATCH 7/14 timers: fix typos in comments
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 <[email protected]>
--- 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(-)
kernel/time/clocksource.c +1 -1
@@ -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) ||
kernel/time/hrtimer.c +1 -1
@@ -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
kernel/time/timekeeping.c +2 -2
@@ -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 );
kernel/time/timer_migration.c +1 -1
@@ -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 ; }
kernel/time/timer_migration.h +1 -1
@@ -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