]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
time: Fix spelling mistakes in comments
authorHaofeng Li <lihaofeng@kylinos.cn>
Wed, 10 Sep 2025 09:37:03 +0000 (17:37 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 21 Sep 2025 08:02:02 +0000 (10:02 +0200)
Correct several typos found in comments across various files in the
kernel/time directory.

No functional changes are introduced by these corrections.

Signed-off-by: Haofeng Li <lihaofeng@kylinos.cn>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time/alarmtimer.c
kernel/time/clocksource.c
kernel/time/hrtimer.c
kernel/time/posix-timers.c

index 577f0e6842d4cef4d306ab59fb084826f4a44812..069d93bfb0c75cf50602359504c3a4d162e057c7 100644 (file)
@@ -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
index 3edb01db3aa1469df7cf0440ae42cbee5e97af28..a1890a073196b1ee4e546a990bc72650c398b4ad 100644 (file)
@@ -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)
index f383df28c5325919b4d22df383d7fb286ea05874..7e7b2b471baec27b25ec33d634dc106efe7b608a 100644 (file)
@@ -201,7 +201,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))
index 2741f3725de48ea8f73cc279287631f9d5a6e960..aa3120104a51288cece6dc707e11d26bd10df837 100644 (file)
@@ -534,7 +534,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