Re: [PATCH] cpufreq: CPPC: Add u64 casts to avoid overflowing

From: Viresh Kumar
Date: Tue Dec 20 2022 - 23:48:55 EST


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@xxxxxxx>
> ---
> drivers/cpufreq/cppc_cpufreq.c | 11 ++++++-----
> 1 file changed, 6 insertions(+), 5 deletions(-)

Applied. Thanks.

--
viresh