summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorDavid Francis <David.Francis@amd.com>2026-06-25 10:09:13 -0400
committerAlex Deucher <alexander.deucher@amd.com>2026-07-01 11:43:50 -0400
commit60b048c93f7a3add39757ad65fe2bb6e58eeae23 (patch)
treee1f2820e3ce41370b6b5403f0e9bee380cca9682 /tools/perf/scripts/python/bin/stackcollapse-record
parentceac787584225883e590b8141503f54c28c2e2cf (diff)
drm/amdkfd: Use kvcalloc to allocate arrays
There were a few instances in kfd_chardev.c of kvzalloc being used to allocate memory for an array. Switch those to kvcalloc, which - is the standard way of allocating a zero-initialized array - does a check for the mul overflowing Signed-off-by: David Francis <David.Francis@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions