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

Configure Feed

Select the types of activity you want to include in your feed.

time: Partially revert cleanup on msecs_to_jiffies() documentation

The documentation's intention is to compare msecs_to_jiffies() (first
sentence) with __msecs_to_jiffies() (second sentence), which is what the
original documentation did. One of the cleanups in commit f3cb80804b82
("time: Fix various kernel-doc problems") may have thought the paragraph
was talking about the latter since that is what it is being documented.

Thus revert that part of the change.

Fixes: f3cb80804b82 ("time: Fix various kernel-doc problems")
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20241025110141.157205-1-ojeda@kernel.org

authored by

Miguel Ojeda and committed by
Thomas Gleixner
b05aefc1 147ba943

+1 -1
+1 -1
kernel/time/time.c
··· 558 558 * handling any 32-bit overflows. 559 559 * for the details see __msecs_to_jiffies() 560 560 * 561 - * __msecs_to_jiffies() checks for the passed in value being a constant 561 + * msecs_to_jiffies() checks for the passed in value being a constant 562 562 * via __builtin_constant_p() allowing gcc to eliminate most of the 563 563 * code, __msecs_to_jiffies() is called if the value passed does not 564 564 * allow constant folding and the actual conversion must be done at