aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c
diff options
context:
space:
mode:
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>2023-12-20 19:36:20 +0530
committerAlex Deucher <alexander.deucher@amd.com>2024-01-03 11:16:06 -0500
commitb57e3ca1fb192962f5b062c2e13e1bab1936292c (patch)
tree2e88efd4e5700fbcbddc7a86a7087e27830d55b2 /drivers/gpu/drm/amd/amdgpu/amdgpu_rlc.c
parent091411be7ae899ce23072acf5a83b0b43e9024e1 (diff)
drm/amdgpu: Use kvcalloc instead of kvmalloc_array in amdgpu_cs_parser_bos()
kvmalloc_array + __GFP_ZERO is the same with kvcalloc. Fixes the below: drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:873 amdgpu_cs_parser_bos() warn: Please consider using kvcalloc instead of kvmalloc_array 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: Christian König <christian.koenig@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