diff options
author | Srinivasan Shanmugam <[email protected]> | 2023-12-19 19:26:22 +0530 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-01-03 11:16:06 -0500 |
commit | 091411be7ae899ce23072acf5a83b0b43e9024e1 (patch) | |
tree | 4f29d6accd0e8799294ae028093d02acb0f785f1 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | abaf0666a65b8bbf7311571cd2b32b076fb8e1f9 (diff) |
drm/amdgpu: Use kzalloc instead of kmalloc+__GFP_ZERO in amdgpu_ras.c
Fixes the below smatch warnings:
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:2543 amdgpu_ras_recovery_init() warn: Please consider using kzalloc instead of kmalloc
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:2830 amdgpu_ras_init() warn: Please consider using kzalloc instead of kmalloc
Cc: Christian König <[email protected]>
Cc: Alex Deucher <[email protected]>
Signed-off-by: Srinivasan Shanmugam <[email protected]>
Reviewed-by: Tao Zhou <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions