Messages in this thread | | | Date | Wed, 21 Dec 2022 10:18:33 +0530 | From | Viresh Kumar <> | 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@arm.com> > --- > drivers/cpufreq/cppc_cpufreq.c | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-)
Applied. Thanks.
-- viresh
| |