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)
commit6de1601e84e40888296973c61b1516dc4d5977e3
treeba63dd8a7cd85bbba979aa848dd3f9b36e5caa24
parent3fac052825183fb5ecc7a3d2024564eddab05ac1
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: 238387774232 ("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