aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2021-08-06 15:05:18 +0000
committerAlex Deucher <[email protected]>2021-08-06 20:12:23 +0000
commit420c81c84b596984e0afb6e8b884dc67ddfa13f6 (patch)
tree816bca63c15160630c010a96caa1c35b6cc18b7b /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdrm/amd/pm: bug fix for the runtime pm BACO (diff)
downloadkernel-420c81c84b596984e0afb6e8b884dc67ddfa13f6.tar.gz
kernel-420c81c84b596984e0afb6e8b884dc67ddfa13f6.zip
drm/amdgpu: check for allocation failure in amdgpu_vkms_sw_init()
Check whether the kcalloc() fails and return -ENOMEM if it does. Fixes: 84ec374bd58036 ("drm/amdgpu: create amdgpu_vkms (v4)") Reviewed-by: Christian König <[email protected]> Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions