Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/63941 _apply issues_ Submitter: Thomas Monjalon Date: 2019-12-16 19:15:53 Reply_mail: 20191216191553.1997116-1-thomas@monjalon.net DPDK git baseline: Repo:dpdk, CommitID: c3e89f69facbbfe131b6a6723665d48801ac943d *Repo: dpdk net/mlx: fix build with clang 9 This rewrites the MKSTR macro appending an empty string to its arguments to resolve build failures similar to: drivers/net/mlx4/mlx4.c:461:14: fatal error: format string is not a string literal [-Wformat-nonliteral] MKSTR(path, "%s/device/uevent", device->ibdev_path); drivers/net/mlx4/mlx4_utils.h:82:30: note: expanded from macro 'MKSTR' char name[snprintf(NULL, 0, __VA_ARGS__) + 1]; \ drivers/net/mlx5/mlx5_stats.c:144:15: fatal error: format string is not a string literal [-Wformat-nonliteral] MKSTR(path, "%s/ports/%d/hw_counters/%s", drivers/net/mlx5/mlx5_utils.h:149:30: note: expanded from macro 'MKSTR' char name[snprintf(NULL, 0, __VA_ARGS__) + 1]; \ -- done fi } error: patch failed: devtools/test-build.sh:141 error: devtools/test-build.sh: patch does not apply DPDK STV team