drm/amd/display: do not compare integers of different widths
authorJosip Pavic <Josip.Pavic@amd.com>
Thu, 10 Jun 2021 19:30:28 +0000 (15:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 22 Jun 2021 20:51:44 +0000 (16:51 -0400)
commit7335d95659329b20743674fe6fa0ff76a6985154
tree945ade8a6131ab57fd80d259c37c4e1dc5760a9f
parent715bfff397634c44d616e27e11c873be1d442977
drm/amd/display: do not compare integers of different widths

[Why & How]
Increase width of some variables to avoid comparing integers of
different widths

Signed-off-by: Josip Pavic <Josip.Pavic@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@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/core/dc_link.c
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c