]> www.infradead.org Git - users/hch/configfs.git/commit
drm/amd/display: Fix print format specifiers in DC_LOG_IPS
authorRoman Li <Roman.Li@amd.com>
Tue, 30 Jul 2024 21:32:35 +0000 (17:32 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Aug 2024 14:44:09 +0000 (10:44 -0400)
commit3bb41f2e9134906e0814766c07dfbdd9de0bfaf5
tree64f6b4ac27c299a74635008a6b4fc35347029c25
parenta1fc9f584c4aaf8bc1ebfa459fc57a3f26a290d8
drm/amd/display: Fix print format specifiers in DC_LOG_IPS

[Why]
%d specifier is used for printing unsigned values.
It can result in negative values in logs for unsigned variables.

[How]
Replace %d with %u for unsigned.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Roman Li <Roman.Li@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@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/dc_dmub_srv.c