aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2022-01-17 09:31:26 +0000
committerAlex Deucher <[email protected]>2022-01-18 23:00:58 +0000
commit4722f463896cc0ef1a6f1c3cb2e171e949831249 (patch)
treed8e90fd24e392918e58e13cf300b7035bb931d44 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
parentdrm/amd/amdgpu: fixing read wrong pf2vf data in SRIOV (diff)
downloadkernel-4722f463896cc0ef1a6f1c3cb2e171e949831249.tar.gz
kernel-4722f463896cc0ef1a6f1c3cb2e171e949831249.zip
drm/radeon: fix error handling in radeon_driver_open_kms
The return value was never initialized so the cleanup code executed when it isn't even necessary. Just add proper error handling. Fixes: ab50cb9df889 ("drm/radeon/radeon_kms: Fix a NULL pointer dereference in radeon_driver_open_kms()") Signed-off-by: Christian König <[email protected]> Tested-by: Jan Stancek <[email protected]> Tested-by: Borislav Petkov <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions