[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tencent_943DD74006B627A4CC01A3DE6AD98A769207@qq.com>
Date: Wed, 10 Sep 2025 17:37:03 +0800
From: Haofeng Li <920484857@...com>
To: John Stultz <jstultz@...gle.com>,
Thomas Gleixner <tglx@...utronix.de>,
Anna-Maria Behnsen <anna-maria@...utronix.de>
Cc: Stephen Boyd <sboyd@...nel.org>,
Frederic Weisbecker <frederic@...nel.org>,
linux-kernel@...r.kernel.org,
Haofeng Li <13266079573@....com>,
Haofeng Li <lihaofeng@...inos.cn>
Subject: [PATCH] kernel/time: Fix spelling mistakes in comments
From: Haofeng Li <lihaofeng@...inos.cn>
Correct several typos found in comments across various files in the
kernel/time directory:
- s/syncrhonized/synchronized/ in alarmtimer.c
- s/unspecifed/unspecified/ in clocksource.c
- s/we/be/ in hrtimer.c
- s/succesful/successful/ in posix-timers.c
No functional changes are introduced by these corrections.
Signed-off-by: Haofeng Li <lihaofeng@...inos.cn>
---
kernel/time/alarmtimer.c | 2 +-
kernel/time/clocksource.c | 2 +-
kernel/time/hrtimer.c | 2 +-
kernel/time/posix-timers.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/kernel/time/alarmtimer.c b/kernel/time/alarmtimer.c
index 577f0e6842d4..069d93bfb0c7 100644
--- a/kernel/time/alarmtimer.c
+++ b/kernel/time/alarmtimer.c
@@ -35,7 +35,7 @@
/**
* struct alarm_base - Alarm timer bases
- * @lock: Lock for syncrhonized access to the base
+ * @lock: Lock for synchronized access to the base
* @timerqueue: Timerqueue head managing the list of events
* @get_ktime: Function to read the time correlating to the base
* @get_timespec: Function to read the namespace time correlating to the base
diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c
index 0aef0e349e49..b5530c517aea 100644
--- a/kernel/time/clocksource.c
+++ b/kernel/time/clocksource.c
@@ -144,7 +144,7 @@ static u64 suspend_start;
* Default for maximum permissible skew when cs->uncertainty_margin is
* not specified, and the lower bound even when cs->uncertainty_margin
* is specified. This is also the default that is used when registering
- * clocks with unspecifed cs->uncertainty_margin, so this macro is used
+ * clocks with unspecified cs->uncertainty_margin, so this macro is used
* even in CONFIG_CLOCKSOURCE_WATCHDOG=n kernels.
*/
#define WATCHDOG_MAX_SKEW (MAX_SKEW_USEC * NSEC_PER_USEC)
diff --git a/kernel/time/hrtimer.c b/kernel/time/hrtimer.c
index 30899a8cc52c..37e6a5593dbd 100644
--- a/kernel/time/hrtimer.c
+++ b/kernel/time/hrtimer.c
@@ -208,7 +208,7 @@ static bool hrtimer_suitable_target(struct hrtimer *timer, struct hrtimer_clock_
/*
* The offline local CPU can't be the default target if the
* next remote target event is after this timer. Keep the
- * elected new base. An IPI will we issued to reprogram
+ * elected new base. An IPI will be issued to reprogram
* it as a last resort.
*/
if (!hrtimer_base_is_online(this_cpu_base))
diff --git a/kernel/time/posix-timers.c b/kernel/time/posix-timers.c
index 8b582174b1f9..fd311728153b 100644
--- a/kernel/time/posix-timers.c
+++ b/kernel/time/posix-timers.c
@@ -535,7 +535,7 @@ static int do_timer_create(clockid_t which_clock, struct sigevent *event,
goto out;
}
/*
- * After succesful copy out, the timer ID is visible to user space
+ * After successful copy out, the timer ID is visible to user space
* now but not yet valid because new_timer::signal low order bit is 1.
*
* Complete the initialization with the clock specific create
--
2.25.1
Powered by blists - more mailing lists