Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v2 0/8] Print/scan formatting fixups
@ 2025-05-19 11:30 Jan Sokolowski
  2025-05-19 11:30 ` [PATCH i-g-t v2 1/8] lib/amdgpu: fixup print/scan formatting for files in lib Jan Sokolowski
                   ` (11 more replies)
  0 siblings, 12 replies; 16+ messages in thread
From: Jan Sokolowski @ 2025-05-19 11:30 UTC (permalink / raw)
  To: igt-dev; +Cc: Jan Sokolowski, Katarzyna Piecielska, Kamil Konieczny

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@intel.com>
Cc: Katarzyna Piecielska <katarzyna.piecielska@intel.com>
Cc: Kamil Konieczny <kamil.konieczny@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. 

---

Jan Sokolowski (8):
  lib/amdgpu: fixup print/scan formatting for files in lib
  tests/amdgpu: fixup print/scan formatting for files in tests
  lib/igt_nouveau: fixup print/scan formatting for files in lib
  lib/igt_perf: fixup print/scan formatting for files in lib
  lib/xe/xe_sriov*: fixup print/scan formatting for files in lib
  tests/intel/xe_sriov*: fixup print/scan formatting for files in tests
  runner: fixup print/scan formatting for files in runner
  tests/intel: fixup print/scan formatting for files in intel tests

 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                     | 12 ++++++------
 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, 66 insertions(+), 62 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-05-23 13:33 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-19 11:30 [PATCH i-g-t v2 0/8] Print/scan formatting fixups Jan Sokolowski
2025-05-19 11:30 ` [PATCH i-g-t v2 1/8] lib/amdgpu: fixup print/scan formatting for files in lib Jan Sokolowski
2025-05-19 11:30 ` [PATCH i-g-t v2 2/8] tests/amdgpu: fixup print/scan formatting for files in tests Jan Sokolowski
2025-05-19 11:30 ` [PATCH i-g-t v2 3/8] lib/igt_nouveau: fixup print/scan formatting for files in lib Jan Sokolowski
2025-05-19 11:30 ` [PATCH i-g-t v2 4/8] lib/igt_perf: " Jan Sokolowski
2025-05-19 11:30 ` [PATCH i-g-t v2 5/8] lib/xe/xe_sriov*: " Jan Sokolowski
2025-05-23 13:21   ` Bernatowicz, Marcin
2025-05-19 11:30 ` [PATCH i-g-t v2 6/8] tests/intel/xe_sriov*: fixup print/scan formatting for files in tests Jan Sokolowski
2025-05-23 13:33   ` Bernatowicz, Marcin
2025-05-19 11:30 ` [PATCH i-g-t v2 7/8] runner: fixup print/scan formatting for files in runner Jan Sokolowski
2025-05-19 18:42   ` Kamil Konieczny
2025-05-19 11:30 ` [PATCH i-g-t v2 8/8] tests/intel: fixup print/scan formatting for files in intel tests Jan Sokolowski
2025-05-19 20:14 ` ✓ Xe.CI.BAT: success for Print/scan formatting fixups (rev2) Patchwork
2025-05-19 20:19 ` ✓ i915.CI.BAT: " Patchwork
2025-05-20  0:59 ` ✗ i915.CI.Full: failure " Patchwork
2025-05-20  2:38 ` ✗ Xe.CI.Full: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox