Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Jianyun Gao and committed by
Thomas Gleixner
4518767b e54dd047

+6 -6
+4 -4
include/linux/delay.h
··· 68 68 * @min: Minimum time in microseconds to sleep 69 69 * @max: Maximum time in microseconds to sleep 70 70 * 71 - * For basic information please refere to usleep_range_state(). 71 + * For basic information please refer to usleep_range_state(). 72 72 * 73 73 * The task will be in the state TASK_UNINTERRUPTIBLE during the sleep. 74 74 */ ··· 82 82 * @min: Minimum time in microseconds to sleep 83 83 * @max: Maximum time in microseconds to sleep 84 84 * 85 - * For basic information please refere to usleep_range_state(). 85 + * For basic information please refer to usleep_range_state(). 86 86 * 87 87 * 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. 89 89 */ 90 90 static inline void usleep_range_idle(unsigned long min, unsigned long max) 91 91 { ··· 96 96 * ssleep - wrapper for seconds around msleep 97 97 * @seconds: Requested sleep duration in seconds 98 98 * 99 - * Please refere to msleep() for detailed information. 99 + * Please refer to msleep() for detailed information. 100 100 */ 101 101 static inline void ssleep(unsigned int seconds) 102 102 {
+1 -1
kernel/time/posix-timers.c
··· 1242 1242 * sys_clock_settime(). The kernel internal timekeeping is always using 1243 1243 * nanoseconds precision independent of the clocksource device which is 1244 1244 * 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(). 1246 1246 * 1247 1247 * Returns: 1248 1248 * 0 Success. @tp contains the resolution
+1 -1
kernel/time/timer_migration.c
··· 708 708 /* 709 709 * Returns true, if there is nothing to be propagated to the next level 710 710 * 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 712 712 * the) hierarchy, but only when hierarchy is completely idle. 713 713 * 714 714 * The child and group states need to be read under the lock, to prevent a race