diff options
author | Miguel Ojeda <ojeda@kernel.org> | 2024-10-25 13:01:40 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-10-25 19:49:16 +0200 |
commit | b05aefc1f5886c8aece650c9c1639c87b976191a (patch) | |
tree | aa6dbb7622a351b9e831c3f49808f3c308058b1d /kernel/time/time.c | |
parent | 147ba943024e564e89d9ac265d6a07a0d2c03988 (diff) | |
download | lwn-b05aefc1f5886c8aece650c9c1639c87b976191a.tar.gz lwn-b05aefc1f5886c8aece650c9c1639c87b976191a.zip |
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
Diffstat (limited to 'kernel/time/time.c')
-rw-r--r-- | kernel/time/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/time.c b/kernel/time/time.c index 5984d4a5639b..b1809a1b0827 100644 --- a/kernel/time/time.c +++ b/kernel/time/time.c @@ -558,7 +558,7 @@ EXPORT_SYMBOL(ns_to_timespec64); * handling any 32-bit overflows. * for the details see __msecs_to_jiffies() * - * __msecs_to_jiffies() checks for the passed in value being a constant + * msecs_to_jiffies() checks for the passed in value being a constant * via __builtin_constant_p() allowing gcc to eliminate most of the * code, __msecs_to_jiffies() is called if the value passed does not * allow constant folding and the actual conversion must be done at |