OSDN Git Service

drm/amd/display: prevent null pointer access
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Thu, 15 Oct 2020 18:49:56 +0000 (14:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Oct 2020 21:12:41 +0000 (17:12 -0400)
commit140b2ef1c28d3f5a5fc767368eaa8b45afc5bf1f
tree1a250e15dcf04293b951fdebd461d0184a51d667
parent55bb919be4e4973cd037a04f527ecc6686800437
drm/amd/display: prevent null pointer access

Prevent null pointer access when checking odm tree.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: <stable@vger.kernel.org>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c