diff options
author | Lukasz Luba <lukasz.luba@arm.com> | 2025-02-24 20:33:06 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-02-26 22:55:42 +0300 |
commit | 063ab16ff5cfa74aba25ec7efa08d2d016a429da (patch) | |
tree | c76f83350d47a7ee9600118924b34af6998440a6 /tools/perf/scripts/python/parallel-perf.py | |
parent | e6c0525fc6afb2e88c02b13a58a036d95492e6f6 (diff) | |
download | linux-063ab16ff5cfa74aba25ec7efa08d2d016a429da.tar.xz |
thermal: hisi: Use kcalloc() instead of kzalloc() with multiplication
According to the latest recommendations, kcalloc() should be used
instead of kzalloc() with multiplication (which might overflow).
Switch to this new scheme and use more safe kcalloc().
No functional impact.
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Link: https://patch.msgid.link/20250224173432.1946070-5-lukasz.luba@arm.com
[ rjw: Changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions