diff options
author | Pierre Gondois <pierre.gondois@arm.com> | 2022-12-20 11:12:25 +0100 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2022-12-27 08:27:14 +0530 |
commit | f5f94b9c8b805d87ff185caf9779c3a4d07819e3 (patch) | |
tree | 3a0630d5a428270c86c107862d46c02374790d7b /drivers/cpufreq/Kconfig.x86 | |
parent | 83749a2ee548f568ce2037749e19602fdc9f3ee3 (diff) | |
download | lwn-f5f94b9c8b805d87ff185caf9779c3a4d07819e3.tar.gz lwn-f5f94b9c8b805d87ff185caf9779c3a4d07819e3.zip |
cpufreq: CPPC: Add u64 casts to avoid overflowing
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>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/Kconfig.x86')
0 files changed, 0 insertions, 0 deletions