diff options
| author | David Francis <David.Francis@amd.com> | 2026-06-25 10:09:13 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-07-01 11:43:50 -0400 |
| commit | 60b048c93f7a3add39757ad65fe2bb6e58eeae23 (patch) | |
| tree | e1f2820e3ce41370b6b5403f0e9bee380cca9682 /tools/perf/scripts/python/bin | |
| parent | ceac787584225883e590b8141503f54c28c2e2cf (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')
0 files changed, 0 insertions, 0 deletions
