aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2023-08-20 09:51:16 +0000
committerAlex Deucher <[email protected]>2023-08-30 19:26:47 +0000
commit415b7ba36a788dd2496a605f3fc992c793afd406 (patch)
tree03454e004fc2491f45609ed303525991b014de69 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/amdgpu: Remove amdgpu_bo_list_array_entry() (diff)
downloadkernel-415b7ba36a788dd2496a605f3fc992c793afd406.tar.gz
kernel-415b7ba36a788dd2496a605f3fc992c793afd406.zip
drm/amdgpu: Use kvzalloc() to simplify code
kvzalloc() can be used instead of kvmalloc() + memset() + explicit NULL assignments. It is less verbose and more future proof. Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions