]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
time: Fix a few typos in time[r] related code comments
authorJianyun Gao <jianyungao89@gmail.com>
Sat, 27 Sep 2025 09:34:10 +0000 (17:34 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 14 Nov 2025 19:34:50 +0000 (20:34 +0100)
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
include/linux/delay.h
kernel/time/posix-timers.c
kernel/time/timer_migration.c

index 89866bab100dbb5232b649cfb98f565d69957bd7..46412c00033a9507d9190b74f5de72efb4456ec6 100644 (file)
@@ -68,7 +68,7 @@ void usleep_range_state(unsigned long min, unsigned long max,
  * @min:       Minimum time in microseconds to sleep
  * @max:       Maximum time in microseconds to sleep
  *
- * For basic information please refere to usleep_range_state().
+ * For basic information please refer to usleep_range_state().
  *
  * The task will be in the state TASK_UNINTERRUPTIBLE during the sleep.
  */
@@ -82,10 +82,10 @@ static inline void usleep_range(unsigned long min, unsigned long max)
  * @min:       Minimum time in microseconds to sleep
  * @max:       Maximum time in microseconds to sleep
  *
- * For basic information please refere to usleep_range_state().
+ * For basic information please refer to usleep_range_state().
  *
  * The sleeping task has the state TASK_IDLE during the sleep to prevent
- * contribution to the load avarage.
+ * contribution to the load average.
  */
 static inline void usleep_range_idle(unsigned long min, unsigned long max)
 {
@@ -96,7 +96,7 @@ static inline void usleep_range_idle(unsigned long min, unsigned long max)
  * ssleep - wrapper for seconds around msleep
  * @seconds:   Requested sleep duration in seconds
  *
- * Please refere to msleep() for detailed information.
+ * Please refer to msleep() for detailed information.
  */
 static inline void ssleep(unsigned int seconds)
 {
index aa3120104a51288cece6dc707e11d26bd10df837..36dbb81465171382445dfecb0551893ad9628516 100644 (file)
@@ -1242,7 +1242,7 @@ SYSCALL_DEFINE2(clock_adjtime, const clockid_t, which_clock,
  *    sys_clock_settime(). The kernel internal timekeeping is always using
  *    nanoseconds precision independent of the clocksource device which is
  *    used to read the time from. The resolution of that device only
- *    affects the presicion of the time returned by sys_clock_gettime().
+ *    affects the precision of the time returned by sys_clock_gettime().
  *
  * Returns:
  *     0               Success. @tp contains the resolution
index 19ddfa96b9dfd3d762c1e9d8ad656f8631f6fe95..57e38674e56e5fefe9385c5b32928e734a026289 100644 (file)
@@ -708,7 +708,7 @@ void tmigr_cpu_activate(void)
 /*
  * Returns true, if there is nothing to be propagated to the next level
  *
- * @data->firstexp is set to expiry of first gobal event of the (top level of
+ * @data->firstexp is set to expiry of first global event of the (top level of
  * the) hierarchy, but only when hierarchy is completely idle.
  *
  * The child and group states need to be read under the lock, to prevent a race