summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dmub/src
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2022-01-17 10:31:26 +0100
committerAlex Deucher <alexander.deucher@amd.com>2022-01-18 17:41:18 -0500
commit47f29ac1cbae6e18329f0066f7c8d5d2346a5bce (patch)
treee19409b93e61dbd5c7d9cb301ee3184b7f87f23c /drivers/gpu/drm/amd/display/dmub/src
parentf3527a6483fbccbf569f91d9ee9c561b14d86a9f (diff)
downloadlinux-47f29ac1cbae6e18329f0066f7c8d5d2346a5bce.tar.gz
linux-47f29ac1cbae6e18329f0066f7c8d5d2346a5bce.tar.bz2
linux-47f29ac1cbae6e18329f0066f7c8d5d2346a5bce.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 'drivers/gpu/drm/amd/display/dmub/src')
0 files changed, 0 insertions, 0 deletions