]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcaf645176d037be40911340e15a7535c532ecc29
tree945ade8a6131ab57fd80d259c37c4e1dc5760a9f
parente3b811b8f3f097898b226b0b5a7591b3fc9f2dc7
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