From: Randy Dunlap <rdunlap@infradead.org>
To: Miguel Ojeda <ojeda@kernel.org>, John Stultz <jstultz@google.com>,
Thomas Gleixner <tglx@linutronix.de>
Cc: Stephen Boyd <sboyd@kernel.org>,
Anna-Maria Behnsen <anna-maria@linutronix.de>,
Geert Uytterhoeven <geert@linux-m68k.org>,
Ingo Molnar <mingo@kernel.org>,
Nicholas Mc Guire <hofrat@osadl.org>,
linux-kernel@vger.kernel.org, patches@lists.linux.dev
Subject: Re: [PATCH 1/2] time: revert cleanup on msecs_to_jiffies() documentation
Date: Sat, 26 Oct 2024 12:32:44 -0700 [thread overview]
Message-ID: <b7787a08-3b06-4d52-8e4b-8a82bfdbe21b@infradead.org> (raw)
In-Reply-To: <20241025110141.157205-1-ojeda@kernel.org>
On 10/25/24 4:01 AM, Miguel Ojeda wrote:
> 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>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.
> ---
> kernel/time/time.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/time/time.c b/kernel/time/time.c
> index 642647f5046b..e1879ca32103 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
>
> base-commit: 42f7652d3eb527d03665b09edac47f85fb600924
--
~Randy
prev parent reply other threads:[~2024-10-26 19:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-25 11:01 Miguel Ojeda
2024-10-25 11:01 ` [PATCH 2/2] time: fix references to _msecs_to_jiffies handling of values Miguel Ojeda
2024-10-25 14:53 ` [tip: timers/core] time: Fix references to _msecs_to_jiffies() " tip-bot2 for Miguel Ojeda
2024-10-25 18:01 ` tip-bot2 for Miguel Ojeda
2024-10-25 14:53 ` [tip: timers/core] time: Partially revert cleanup on msecs_to_jiffies() documentation tip-bot2 for Miguel Ojeda
2024-10-25 18:01 ` tip-bot2 for Miguel Ojeda
2024-10-26 19:32 ` Randy Dunlap [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b7787a08-3b06-4d52-8e4b-8a82bfdbe21b@infradead.org \
--to=rdunlap@infradead.org \
--cc=anna-maria@linutronix.de \
--cc=geert@linux-m68k.org \
--cc=hofrat@osadl.org \
--cc=jstultz@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=ojeda@kernel.org \
--cc=patches@lists.linux.dev \
--cc=sboyd@kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®