]> 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)
commitefe8f257ed088286a11bbb448936eb5947926b40
treeba63dd8a7cd85bbba979aa848dd3f9b36e5caa24
parent6d251ffd0a1dd593b189cda27e6cdda152e9e444
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: 133500701013 ("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