[PATCH i-g-t v2 0/4] Fix warnings with gcc 14

Mauro Carvalho Chehab mauro.chehab at linux.intel.com
Wed Apr 10 14:42:34 UTC 2024


From: Mauro Carvalho Chehab <mchehab at kernel.org>

GCC version 14 now checks if arguments for calloc() are at the right
order, producing warnings otherwise.

Fix it.

Mauro Carvalho Chehab (4):
  benchmarks: fix calloc calls with inverted arguments
  assembler: fix calloc calls with inverted arguments
  tests: fix calloc calls with inverted arguments
  lib: fix calloc calls with inverted arguments

 assembler/gram.y                        | 6 +++---
 assembler/main.c                        | 2 +-
 benchmarks/gem_exec_reloc.c             | 6 +++---
 benchmarks/gem_latency.c                | 2 +-
 lib/igt_chamelium.c                     | 4 ++--
 lib/igt_kms.c                           | 6 +++---
 tests/amdgpu/amd_multidisplay_modeset.c | 2 +-
 tests/chamelium/kms_chamelium_frames.c  | 2 +-
 tests/intel/gem_exec_alignment.c        | 4 ++--
 tests/intel/gem_exec_fair.c             | 4 ++--
 tests/intel/gem_fence_thrash.c          | 4 ++--
 tests/intel/gem_ppgtt.c                 | 4 ++--
 tests/intel/gem_render_tiled_blits.c    | 2 +-
 tests/intel/gem_userptr_blits.c         | 2 +-
 tests/kms_atomic_transition.c           | 6 +++---
 tests/kms_flip.c                        | 4 ++--
 16 files changed, 30 insertions(+), 30 deletions(-)

-- 
2.44.0



More information about the igt-dev mailing list