[igt-dev] [PATCH i-g-t] RFC: Fix gem test related gcc warnings.
Juha-Pekka Heikkila
juhapekka.heikkila at gmail.com
Mon Oct 14 12:09:04 UTC 2019
I don't use these "for_each_engine" defines ever so I don't know if this is
workable solution. I was just looking at those gem test related compile
time warnings about "declaration of ‘e__’ shadows a previous local" and
made this to silence them out.
Juha-Pekka Heikkila (1):
gem: fix compiler warnings
lib/igt_gt.h | 16 ++++++++--------
tests/i915/gem_eio.c | 6 +++---
tests/i915/gem_exec_latency.c | 4 ++--
tests/i915/gem_exec_nop.c | 8 ++++----
tests/i915/gem_exec_schedule.c | 4 ++--
tests/i915/gem_sync.c | 16 ++++++++--------
6 files changed, 27 insertions(+), 27 deletions(-)
--
2.7.4
More information about the igt-dev
mailing list