drm/amd/display: add valid regoffset and NULL pointer check
authorCharlene Liu <charlene.liu@amd.com>
Sat, 9 Jun 2018 23:33:14 +0000 (19:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:38:44 +0000 (16:38 -0500)
commit7f93c1de64693dc18afe55559f14cee6b5403c6c
treec7c67e1f70254d825e9b8538621f473d592cc491
parentc1aaea99a43e39c7c8dc6c71b84589c89d5bcbf2
drm/amd/display: add valid regoffset and NULL pointer check

Signed-off-by: Charlene Liu <charlene.liu@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c