]> www.infradead.org Git - users/hch/configfs.git/commit
drm/amd/display: Address coverity change
authorChris Park <chris.park@amd.com>
Thu, 25 Jul 2024 20:09:35 +0000 (16:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Aug 2024 15:11:02 +0000 (11:11 -0400)
commit329ee7087bc9862977fb6e431b8b0ea5e7e261b0
tree9b05a49b51e598f8bb7ce8e4417b99151545be57
parent8151a6c13111b465dbabe07c19f572f7cbd16fef
drm/amd/display: Address coverity change

[Why]
Coverity picks up a defect with regards to array underflow.

[How]
Address coverity issue as recommended.

Reviewed-by: Leo Ma <hanghong.ma@amd.com>
Signed-off-by: Chris Park <chris.park@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c