Patch "time: Partially revert cleanup on msecs_to_jiffies() documentation" has been added to the 6.11-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    time: Partially revert cleanup on msecs_to_jiffies() documentation

to the 6.11-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     time-partially-revert-cleanup-on-msecs_to_jiffies-do.patch
and it can be found in the queue-6.11 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 261ca3d2909b45e796349b8ca1236d082f751df7
Author: Miguel Ojeda <ojeda@xxxxxxxxxx>
Date:   Fri Oct 25 13:01:40 2024 +0200

    time: Partially revert cleanup on msecs_to_jiffies() documentation
    
    [ Upstream commit b05aefc1f5886c8aece650c9c1639c87b976191a ]
    
    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@xxxxxxxxxx>
    Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
    Link: https://lore.kernel.org/all/20241025110141.157205-1-ojeda@xxxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/kernel/time/time.c b/kernel/time/time.c
index 642647f5046be..e1879ca321033 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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux