Skip to content

Commit 4518767

Browse files
Jianyun GaoKAGA-KOKO
authored andcommitted
time: Fix a few typos in time[r] related code comments
Signed-off-by: Jianyun Gao <jianyungao89@gmail.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://patch.msgid.link/20250927093411.1509275-1-jianyungao89@gmail.com
1 parent e54dd04 commit 4518767

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

include/linux/delay.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void usleep_range_state(unsigned long min, unsigned long max,
6868
* @min: Minimum time in microseconds to sleep
6969
* @max: Maximum time in microseconds to sleep
7070
*
71-
* For basic information please refere to usleep_range_state().
71+
* For basic information please refer to usleep_range_state().
7272
*
7373
* The task will be in the state TASK_UNINTERRUPTIBLE during the sleep.
7474
*/
@@ -82,10 +82,10 @@ static inline void usleep_range(unsigned long min, unsigned long max)
8282
* @min: Minimum time in microseconds to sleep
8383
* @max: Maximum time in microseconds to sleep
8484
*
85-
* For basic information please refere to usleep_range_state().
85+
* For basic information please refer to usleep_range_state().
8686
*
8787
* The sleeping task has the state TASK_IDLE during the sleep to prevent
88-
* contribution to the load avarage.
88+
* contribution to the load average.
8989
*/
9090
static inline void usleep_range_idle(unsigned long min, unsigned long max)
9191
{
@@ -96,7 +96,7 @@ static inline void usleep_range_idle(unsigned long min, unsigned long max)
9696
* ssleep - wrapper for seconds around msleep
9797
* @seconds: Requested sleep duration in seconds
9898
*
99-
* Please refere to msleep() for detailed information.
99+
* Please refer to msleep() for detailed information.
100100
*/
101101
static inline void ssleep(unsigned int seconds)
102102
{

kernel/time/posix-timers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,7 @@ SYSCALL_DEFINE2(clock_adjtime, const clockid_t, which_clock,
12421242
* sys_clock_settime(). The kernel internal timekeeping is always using
12431243
* nanoseconds precision independent of the clocksource device which is
12441244
* used to read the time from. The resolution of that device only
1245-
* affects the presicion of the time returned by sys_clock_gettime().
1245+
* affects the precision of the time returned by sys_clock_gettime().
12461246
*
12471247
* Returns:
12481248
* 0 Success. @tp contains the resolution

kernel/time/timer_migration.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ void tmigr_cpu_activate(void)
708708
/*
709709
* Returns true, if there is nothing to be propagated to the next level
710710
*
711-
* @data->firstexp is set to expiry of first gobal event of the (top level of
711+
* @data->firstexp is set to expiry of first global event of the (top level of
712712
* the) hierarchy, but only when hierarchy is completely idle.
713713
*
714714
* The child and group states need to be read under the lock, to prevent a race

0 commit comments

Comments
 (0)