summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGaghik Khachatrian <gaghik.khachatrian@amd.com>2026-03-12 17:21:43 +0300
committerAlex Deucher <alexander.deucher@amd.com>2026-03-23 21:15:57 +0300
commit370b132a3ed5c80093b668bb518984bfff6638fb (patch)
treed21d7bf419835daf2d642cdfd91e458d2e2869f1 /include
parent64fd3f93a85051d765d04efa59c13f03fdc9d286 (diff)
downloadlinux-370b132a3ed5c80093b668bb518984bfff6638fb.tar.xz
drm/amd/display: Fix Signed/Unsigned Int Usage Compiler Warning
[Why] Compiler generates compiler warnings when signed enum constants or literal -1 are implicitly converted to unsigned integer types, cluttering build output and masking genuine issues. [How] Use UINT_MAX as the invalid sentinel for unsigned IDs and align loop/index types to unsigned where appropriate to remove implicit signed-to-unsigned conversions, with no functional behavior change. Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Signed-off-by: Gaghik Khachatrian <gaghik.khachatrian@amd.com> Signed-off-by: Chuanyu Tseng <chuanyu.tseng@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions