summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJagadeesh Kona <quic_jkona@quicinc.com>2024-05-20 12:07:32 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2024-05-28 09:31:09 +0530
commit074cffb5020ddcaa5fafcc55655e5da6ebe8c831 (patch)
treed88cc7f6ed617152333f97889fafa63e498ab2f7 /tools/perf/scripts/python/export-to-sqlite.py
parentfa8036e5fed21d871aef23092990bfbaddc521d5 (diff)
cpufreq: scmi: Avoid overflow of target_freq in fast switch
Conversion of target_freq to HZ in scmi_cpufreq_fast_switch() can lead to overflow if the multiplied result is greater than UINT_MAX, since type of target_freq is unsigned int. Avoid this overflow by assigning target_freq to unsigned long variable for converting it to HZ. Signed-off-by: Jagadeesh Kona <quic_jkona@quicinc.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions