diff options
author | 2017-11-10 12:12:40 -0500 | |
---|---|---|
committer | 2017-12-14 10:53:11 -0500 | |
commit | 4d06ccd0af1ea5f3a3b74ca421b9cd9840d5e5c6 (patch) | |
tree | 7bbae5de5084bd5fcff83c001ed54d051b0f2b7c /drivers/gpu/drm/amd/display/dc/basics | |
parent | drm/amd/display: dal 3.1.22 (diff) | |
download | linux-dev-4d06ccd0af1ea5f3a3b74ca421b9cd9840d5e5c6.tar.xz linux-dev-4d06ccd0af1ea5f3a3b74ca421b9cd9840d5e5c6.zip |
drm/amd/display: Fix access of wrong array element TF format conversion
Found by smatch:
drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:357
convert_to_custom_float() error: buffer overflow 'arr_points' 2 <= 2
drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:358
convert_to_custom_float() warn: buffer overflow 'arr_points' 2 <= 2
Regression:
drm/amd/display: Remove extra arr_points element
Signed-off-by: Harry Wentland <harry.wentland@amd.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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/basics')
0 files changed, 0 insertions, 0 deletions