During the compilation, some GCC (8.1) warnings are shown. This patchset address some of the warnings problems. Changes in v2: - Better fit the string size for the path requirements - Improves commit messages Rodrigo Siqueira (3): Avoid truncate string in __igt_lsof_fds Account for NULL character when using strncpy Move declaration to the top of the code lib/igt_aux.c | 8 ++++++-- lib/igt_color_encoding.c | 16 ++++++---------- tests/kms_frontbuffer_tracking.c | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) -- 2.17.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx