Skip to content

GCC warning cleanup

Rodrigo Siqueira igt-dev intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7Remove parameter aliases with another argumentlib/igt_core.c+3 -31 reply
2/7Cast void * pointer used in arithmetic to uint32_t*lib/igt_fb.c+4 -25 replies
3/7Fix comparison that always evaluates to falsetools/intel_reg_decode.c+1 -10 replies
4/7Fix truncate string in the snprintftools/intel_reg.c+1 -11 reply
5/7Make string commands dynamic allocatetools/intel_gvtg_test.c+18 -91 reply
6/7Fix truncate string in the strncpytests/perf.c+5 -50 replies
7/7Avoid truncate string in __igt_lsof_fdslib/igt_aux.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [igt-dev] [PATCH i-g-t 0/7] GCC warning cleanup

This patchset fixes all the current GCC 8.1.1 warnings found in the IGT.

Rodrigo Siqueira (7):
Remove parameter aliases with another argument Cast void * pointer used in arithmetic to uint32_t* Fix comparison that always evaluates to false Fix truncate string in the snprintf
Make string commands dynamic allocate
Fix truncate string in the strncpy
Avoid truncate string in __igt_lsof_fds

 lib/igt_aux.c            |  2 +-
 lib/igt_core.c           |  6 +++---
 lib/igt_fb.c             |  6 ++++--
 tests/perf.c             | 10 +++++-----
 tools/intel_gvtg_test.c  | 27 ++++++++++++++++++---------
 tools/intel_reg.c        |  2 +-
 tools/intel_reg_decode.c |  2 +-
 7 files changed, 33 insertions(+), 22 deletions(-)
Signature · 6 lines
2.18.0

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev