[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20221221044833.ebh2timtn7uluqpm@vireshk-i7>
Date: Wed, 21 Dec 2022 10:18:33 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Pierre Gondois <pierre.gondois@....com>
Cc: linux-kernel@...r.kernel.org, james.clark@....com,
Ionela.Voinescu@....com, "Rafael J. Wysocki" <rafael@...nel.org>,
linux-pm@...r.kernel.org
Subject: Re: [PATCH] cpufreq: CPPC: Add u64 casts to avoid overflowing
On 20-12-22, 11:12, Pierre Gondois wrote:
> The fields of the _CPC object are unsigned 32-bits values.
> To avoid overflows while using _CPC's values, add 'u64' casts.
>
> Signed-off-by: Pierre Gondois <pierre.gondois@....com>
> ---
> drivers/cpufreq/cppc_cpufreq.c | 11 ++++++-----
> 1 file changed, 6 insertions(+), 5 deletions(-)
Applied. Thanks.
--
viresh
Powered by blists - more mailing lists