OSDN Git Service

drm/amd/display: do not compare integers of different widths
authorJosip Pavic <Josip.Pavic@amd.com>
Mon, 27 Sep 2021 21:38:10 +0000 (17:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Oct 2021 21:18:04 +0000 (17:18 -0400)
commit2fcb26979d5b2e5a07ee3ceda8e7a10e52cc8a4c
tree8d87e89002776de42f3434b9c39d203bb8de03e3
parentfd8811e60db45e423b0227373fdf79447826f0ca
drm/amd/display: do not compare integers of different widths

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

Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Agustin Gutierrez Sanchez <agustin.gutierrez@amd.com>
Signed-off-by: Josip Pavic <Josip.Pavic@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