diff options
author | Ethan Carter Edwards <ethan@ethancedwards.com> | 2024-12-23 17:41:24 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2024-12-24 07:18:58 +0300 |
commit | af6cc45af3db12f452bfdc9a515da54b56412756 (patch) | |
tree | c8786f2717310ababdd08330caad704c7b39f1f6 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | a9ba290d0b829012574b6821ba08815046e60c94 (diff) | |
download | linux-af6cc45af3db12f452bfdc9a515da54b56412756.tar.xz |
cpufreq: sparc: change kzalloc to kcalloc
Refactor to use kcalloc instead of kzalloc when multiplying
allocation size by count. This refactor prevents unintentional
memory overflows. Discovered by checkpatch.pl.
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions