mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hemanth Selam <hemanth.selam@gmail.com>
To: John Stultz <jstultz@google.com>,
	Thomas Gleixner <tglx@kernel.org>,
	Stephen Boyd <sboyd@kernel.org>,
	Miroslav Lichvar <mlichvar@redhat.com>,
	Anna-Maria Behnsen <anna-maria@linutronix.de>,
	Frederic Weisbecker <frederic@kernel.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 07/14] timers: fix typos in comments
Date: Mon,  7 Sep 2026 12:25:41 +0530	[thread overview]
Message-ID: <20260907065541.29953-1-hemanth.selam@gmail.com> (raw)

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

                 reply	other threads:[~2026-09-07  6:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260907065541.29953-1-hemanth.selam@gmail.com \
    --to=hemanth.selam@gmail.com \
    --cc=anna-maria@linutronix.de \
    --cc=frederic@kernel.org \
    --cc=jstultz@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mlichvar@redhat.com \
    --cc=sboyd@kernel.org \
    --cc=tglx@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®