Skip to content

Commit 391253b

Browse files
Haofeng LiKAGA-KOKO
authored andcommitted
time: Fix spelling mistakes in comments
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>
1 parent b9aa93a commit 391253b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

kernel/time/alarmtimer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
/**
3737
* struct alarm_base - Alarm timer bases
38-
* @lock: Lock for syncrhonized access to the base
38+
* @lock: Lock for synchronized access to the base
3939
* @timerqueue: Timerqueue head managing the list of events
4040
* @get_ktime: Function to read the time correlating to the base
4141
* @get_timespec: Function to read the namespace time correlating to the base

kernel/time/clocksource.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ static u64 suspend_start;
144144
* Default for maximum permissible skew when cs->uncertainty_margin is
145145
* not specified, and the lower bound even when cs->uncertainty_margin
146146
* is specified. This is also the default that is used when registering
147-
* clocks with unspecifed cs->uncertainty_margin, so this macro is used
147+
* clocks with unspecified cs->uncertainty_margin, so this macro is used
148148
* even in CONFIG_CLOCKSOURCE_WATCHDOG=n kernels.
149149
*/
150150
#define WATCHDOG_MAX_SKEW (MAX_SKEW_USEC * NSEC_PER_USEC)

kernel/time/hrtimer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ static bool hrtimer_suitable_target(struct hrtimer *timer, struct hrtimer_clock_
201201
/*
202202
* The offline local CPU can't be the default target if the
203203
* next remote target event is after this timer. Keep the
204-
* elected new base. An IPI will we issued to reprogram
204+
* elected new base. An IPI will be issued to reprogram
205205
* it as a last resort.
206206
*/
207207
if (!hrtimer_base_is_online(this_cpu_base))

kernel/time/posix-timers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ static int do_timer_create(clockid_t which_clock, struct sigevent *event,
534534
goto out;
535535
}
536536
/*
537-
* After succesful copy out, the timer ID is visible to user space
537+
* After successful copy out, the timer ID is visible to user space
538538
* now but not yet valid because new_timer::signal low order bit is 1.
539539
*
540540
* Complete the initialization with the clock specific create

0 commit comments

Comments
 (0)