aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorLenko Donchev <[email protected]>2024-01-28 03:04:38 -0600
committerAlex Deucher <[email protected]>2024-02-22 10:28:32 -0500
commitf634ee1737e7b856bd4c3f040af867007d1cb7b8 (patch)
tree857532f72051c1d39539432d08172e693785dbd3 /tools/perf/scripts/python/bin/stackcollapse-record
parente4e4618bc10be77979d61a99eb43e702fdb850bc (diff)
drm/amd/display: Use kcalloc() instead of kzalloc()
We are trying to get rid of all multiplications from allocation functions to prevent integer overflows. Here the multiplication is obviously safe, but using kcalloc() is more appropriate and improves readability. This patch has no effect on runtime behavior. Link: https://www.kernel.org/doc/html/next/process/deprecated.html#open-coded-arithmetic-in-allocator-arguments Link: https://github.com/KSPP/linux/issues/162 Reviewed-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Lenko Donchev <[email protected]> Signed-off-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions