43e73483a4
Some compilers raise an error when declaring a variable in the middle of a function. This is a C99 allowance. Even if DPDK switches globally to C99 or C11 standard, the coding rules are for declarations at the beginning of a block: http://doc.dpdk.org/guides/contributing/coding_style.html#local-variables This coding style is enforced by adding a check of the common patterns like "for (int i;" The occurrences of the checked pattern are fixed: 'for *(\(char\|u\?int\|unsigned\|s\?size_t\)' In the file dpaa2_sparser.c, the fix is to remove the unused macros. Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: David Marchand <david.marchand@redhat.com> |
||
---|---|---|
.. | ||
linux | ||
Makefile | ||
meson.build | ||
mlx5_common_mp.c | ||
mlx5_common_mp.h | ||
mlx5_common_mr.c | ||
mlx5_common_mr.h | ||
mlx5_common_utils.h | ||
mlx5_common.c | ||
mlx5_common.h | ||
mlx5_devx_cmds.c | ||
mlx5_devx_cmds.h | ||
mlx5_prm.h | ||
rte_common_mlx5_version.map |