diff options
author | 2022-01-17 10:31:26 +0100 | |
---|---|---|
committer | 2022-01-18 18:00:58 -0500 | |
commit | 4722f463896cc0ef1a6f1c3cb2e171e949831249 (patch) | |
tree | d8e90fd24e392918e58e13cf300b7035bb931d44 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | drm/amd/amdgpu: fixing read wrong pf2vf data in SRIOV (diff) | |
download | wireguard-linux-4722f463896cc0ef1a6f1c3cb2e171e949831249.tar.xz wireguard-linux-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 <christian.koenig@amd.com>
Tested-by: Jan Stancek <jstancek@redhat.com>
Tested-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions