]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix unsigned comparison to zero
authorZou Wei <zou_wei@huawei.com>
Thu, 30 Apr 2020 03:56:02 +0000 (11:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Apr 2020 20:49:17 +0000 (16:49 -0400)
commit449092b20c402dcde7bff6bd44a75e0aab0b22d2
treeba63dd8a7cd85bbba979aa848dd3f9b36e5caa24
parent0679295ce333ccbb5f9bdec516fe607ab11b880b
drm/amd/display: Fix unsigned comparison to zero

Fixes coccicheck warning:

drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c:1398:60-61:
WARNING: Unsigned expression compared with zero: j >= 0

Fixes: a6a0ab659866 ("drm/amd/display: fix rn soc bb update")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c