From: Stephen Boyd <sboyd@kernel.org>
To: John Watts <contact@jookia.org>, linux-clk@vger.kernel.org
Subject: Re: 32-bit clocks can't round above 2**31
Date: Thu, 16 Oct 2025 10:28:18 -0700 [thread overview]
Message-ID: <176063569888.11701.5380644365407350173@lazor> (raw)
In-Reply-To: <aPDEQy7M71ZKqn-W@titan>
Quoting John Watts (2025-10-16 03:09:07)
> Hi, just a small bug I spotted when debugging some code. Hope this helps.
Please submit a proper patch. Thanks!
>
> --- a/drivers/clk/clk.c
> +++ b/drivers/clk/clk.c
> @@ -1572,7 +1572,7 @@ late_initcall_sync(clk_disable_unused);
> static int clk_core_determine_round_nolock(struct clk_core *core,
> struct clk_rate_request *req)
> {
> - long rate;
> + unsigned long rate;
>
> lockdep_assert_held(&prepare_lock);
>
prev parent reply other threads:[~2025-10-16 17:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-16 10:09 32-bit clocks can't round above 2**31 John Watts
2025-10-16 17:28 ` Stephen Boyd [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=176063569888.11701.5380644365407350173@lazor \
--to=sboyd@kernel.org \
--cc=contact@jookia.org \
--cc=linux-clk@vger.kernel.org \
/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