[PATCH i-g-t v5 0/9] Print/scan formatting fixups
Jan Sokolowski
jan.sokolowski at intel.com
Tue Jun 3 11:10:58 UTC 2025
It was found that when compiling for other architectures,
due to difference in how these architectures recognize
how integers should be printed, warnings were thrown
in print/scan functions.
Fix them up using universal formatters like
for example PRIu64.
Signed-off-by: Jan Sokolowski <jan.sokolowski at intel.com>
Cc: Katarzyna Piecielska <katarzyna.piecielska at intel.com>
Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
---
v2: various fixes for missing formatters, commit messages, and warnings
for additional configurations. Added cc's. Split patches into more
smaller patches.
v3: Added rb's from v2. Fixed what had been found in v2 review.
Rebased to current HEAD, which added more things to correct in xe_pmu.c
v4: Minor fixes.
v5: Reworded patch topics, added rb's
---
Jan Sokolowski (9):
lib/amdgpu: fix print formatting for 32-bit compilation
tests/amdgpu: fix print formatting for 32-bit compilation
lib/igt_nouveau: fix print formatting for 32-bit compilation
lib/igt_perf: fix scan formatting for 32-bit compilation
lib/xe/xe_sriov*: fix print/scan formatting for 32-bit compilation
tests/intel/xe_sriov*: fix print formatting for 32-bit compilation
runner: fix print/scan formatting for 32-bit compilation
tests/intel/xe*: fix print formatting for 32-bit compilation
tests/intel/xe_eudebug: fix print formatting for 32-bit compilation
lib/amdgpu/amd_deadlock_helpers.c | 19 ++++++++++---------
lib/igt_nouveau.c | 2 +-
lib/igt_perf.c | 3 ++-
lib/xe/xe_sriov_debugfs.c | 18 +++++++++---------
lib/xe/xe_sriov_provisioning.c | 2 +-
runner/executor.c | 2 +-
runner/settings.c | 2 +-
tests/amdgpu/amd_freesync_video_mode.c | 4 ++--
tests/amdgpu/amd_info.c | 2 +-
tests/amdgpu/amd_ras.c | 2 +-
tests/intel/xe_compute_preempt.c | 5 +++--
tests/intel/xe_eu_stall.c | 4 ++--
tests/intel/xe_eudebug.c | 4 ++--
tests/intel/xe_exec_capture.c | 9 +++++----
tests/intel/xe_exec_system_allocator.c | 8 ++++----
tests/intel/xe_oa.c | 6 +++---
tests/intel/xe_pmu.c | 16 ++++++++--------
tests/intel/xe_render_copy.c | 2 +-
tests/intel/xe_sriov_auto_provisioning.c | 6 +++---
tests/intel/xe_sriov_flr.c | 12 ++++++------
tests/intel/xe_sriov_scheduling.c | 4 ++--
21 files changed, 68 insertions(+), 64 deletions(-)
--
2.34.1
More information about the igt-dev
mailing list