diff options
author | Ethan Carter Edwards <ethan@ethancedwards.com> | 2024-12-24 22:13:21 +0000 |
---|---|---|
committer | Mikulas Patocka <mpatocka@redhat.com> | 2025-01-17 22:05:39 +0100 |
commit | c3a1f2ef72a97a79410c566022c5ea962f815ed9 (patch) | |
tree | 4a84c96bdcdf53bb3180c770deae6699b676e7bc /tools/perf/scripts/python/gecko.py | |
parent | 193700b9b218a77222a1b5cd53206c17c40f786b (diff) |
dm: change kzalloc to kcalloc
Use 2-factor multiplication argument form kcalloc() instead
of instead of the deprecated kzalloc() [1].
[1] https://www.kernel.org/doc/html/next/process/deprecated.html#open-coded-arithmetic-in-allocator-arguments
Link: https://github.com/KSPP/linux/issues/162
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions