drm/amd/display: Fix potential access beyond end of array in CM
authorHarry Wentland <harry.wentland@amd.com>
Wed, 14 Mar 2018 19:54:27 +0000 (15:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Apr 2018 18:08:04 +0000 (13:08 -0500)
commit63bd5444f6937bf6bd27a2ab79162fec784dd83c
tree52feca619235843a26441e4a113b4cde7b238e7a
parentf110892ead622bdc9a7732a23aef3a08b0565608
drm/amd/display: Fix potential access beyond end of array in CM

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
CC: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Tony Cheng <Tony.Cheng@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/dcn10/dcn10_cm_common.c