]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit50d422d26367fbdf00d544ac06ce2df9e3c563af
tree1a250e15dcf04293b951fdebd461d0184a51d667
parent4132224c88e05ac0ebe62cc6fdd1656d25e5f1bc
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