]> 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>
Fri, 16 Mar 2018 21:16:49 +0000 (16:16 -0500)
commit0d5252e20048e037692df944ff7b248ebd9126e9
tree27d95071ed33b211c7c220bd68a26f5a7fb844b4
parentb30f79c44feb2390d6b6ddf5f71506b11817e519
drm/amd/display: fix dereferencing possible ERR_PTR()

This patch fixes static checker warning caused by
"3edcc787174b: "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