]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: fix dereferencing possible ERR_PTR()
authorShirish S <shirish.s@amd.com>
Thu, 15 Mar 2018 10:31:00 +0000 (16:01 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Mar 2018 16:23:23 +0000 (11:23 -0500)
commit169d6166a294cb0bff6faeed8d7237c28484ab6e
tree978792228fe443114c6309d8a399e68301c0f11c
parent52d377a2c0ca3fbfa0cf1bb0ec0dfaf21c3765d0
drm/amd/display: fix dereferencing possible ERR_PTR()

This patch fixes static checker warning caused by
"ca5f1c929f32: "drm/amd/display: disable CRTCs with
NULL FB on their primary plane (V2)"

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Shirish S <shirish.s@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c