summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2024-10-25 14:01:41 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-14 21:50:45 +0300
commitcee8f85696a8e30eea71030f364eff20ea66c45e (patch)
treeca0683d28e5ee2791fc0411ee22b7f93246d4944 /include/linux
parentda7e49db34c56ae0f69fdb4b2f0e3a8bd966fe95 (diff)
downloadlinux-cee8f85696a8e30eea71030f364eff20ea66c45e.tar.xz
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 'include/linux')
-rw-r--r--include/linux/jiffies.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/jiffies.h b/include/linux/jiffies.h
index 5e13f801c902..3778e26f7b14 100644
--- a/include/linux/jiffies.h
+++ b/include/linux/jiffies.h
@@ -349,7 +349,7 @@ static inline unsigned long _msecs_to_jiffies(const unsigned int m)
* - 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