]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: correct type mismatches in comparisons in DML2
authorNatanel Roizenman <Natanel.Roizenman@amd.com>
Tue, 10 Dec 2024 17:04:04 +0000 (12:04 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 6 Jan 2025 19:44:26 +0000 (14:44 -0500)
commitd2916cf411e18b72a1325ea98a90cf0c9367e78c
tree1bcb5f3926b5223ea3df0d0aa95aceaee0205cf7
parent9a45ad15a1e26477fb870afb2b4d674c635cd57c
drm/amd/display: correct type mismatches in comparisons in DML2

[Why]
Comparisons were made between unsigned char and unsigned int.

[How]
Corrected by changing variable types.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Natanel Roizenman <Natanel.Roizenman@amd.com>
Signed-off-by: Roman Li <roman.li@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/dml2/dml21/src/dml2_dpmm/dml2_dpmm_dcn4.c
drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/dml2_pmo_dcn3.c
drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/dml2_pmo_dcn4_fams2.c