diff options
author | Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> | 2023-12-19 19:26:22 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-01-03 11:16:06 -0500 |
commit | 091411be7ae899ce23072acf5a83b0b43e9024e1 (patch) | |
tree | 4f29d6accd0e8799294ae028093d02acb0f785f1 /drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c | |
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 <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c')
0 files changed, 0 insertions, 0 deletions