summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2024-10-25 13:01:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-09 10:31:50 +0100
commit01b61f5cef36e0e27e8f1f15b348a0b2f4de07ca (patch)
tree5f5a80233c04b3959f5b5f822c44c9ed21cdf37a /kernel
parent7723bfe6f90326ebc139d25f779b369bfff9c8e0 (diff)
downloadlinux-01b61f5cef36e0e27e8f1f15b348a0b2f4de07ca.tar.gz
linux-01b61f5cef36e0e27e8f1f15b348a0b2f4de07ca.tar.bz2
linux-01b61f5cef36e0e27e8f1f15b348a0b2f4de07ca.zip
time: Fix references to _msecs_to_jiffies() handling of values
[ Upstream commit 92b043fd995a63a57aae29ff85a39b6f30cd440c ] The details about the handling of the "normal" values were moved to the _msecs_to_jiffies() helpers in commit ca42aaf0c861 ("time: Refactor msecs_to_jiffies"). However, the same commit still mentioned __msecs_to_jiffies() in the added documentation. Thus point to _msecs_to_jiffies() instead. Fixes: ca42aaf0c861 ("time: Refactor msecs_to_jiffies") Signed-off-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20241025110141.157205-2-ojeda@kernel.org Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/time/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/time.c b/kernel/time/time.c
index e1879ca32103..1ad88e97b4eb 100644
--- a/kernel/time/time.c
+++ b/kernel/time/time.c
@@ -556,7 +556,7 @@ EXPORT_SYMBOL(ns_to_timespec64);
* - all other values are converted to jiffies by either multiplying
* the input value by a factor or dividing it with a factor and
* handling any 32-bit overflows.
- * for the details see __msecs_to_jiffies()
+ * for the details see _msecs_to_jiffies()
*
* msecs_to_jiffies() checks for the passed in value being a constant
* via __builtin_constant_p() allowing gcc to eliminate most of the