numam-dpdk/drivers/common/mlx5
Thomas Monjalon 43e73483a4 devtools: forbid variable declaration inside for
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>
2020-07-03 10:04:15 +02:00
..
linux devtools: forbid variable declaration inside for 2020-07-03 10:04:15 +02:00
Makefile common/mlx5: add default miss action 2020-06-30 14:52:30 +02:00
meson.build common/mlx5: remove unneeded experimental build flag 2020-06-30 14:52:30 +02:00
mlx5_common_mp.c common/mlx5: refactor IPC handling from net driver 2020-04-21 13:57:08 +02:00
mlx5_common_mp.h common/mlx5: mark internal symbols 2020-05-18 20:35:56 +02:00
mlx5_common_mr.c net/mlx5: add memory region callbacks in per-device cache 2020-06-17 16:32:01 +02:00
mlx5_common_mr.h net/mlx5: add memory region callbacks in per-device cache 2020-06-17 16:32:01 +02:00
mlx5_common_utils.h common/mlx5: introduce common library 2020-02-05 09:51:20 +01:00
mlx5_common.c common/mlx5: move doorbell record from net driver 2020-06-30 14:52:30 +02:00
mlx5_common.h net/mlx5: fix host physical function representor naming 2020-06-30 14:52:30 +02:00
mlx5_devx_cmds.c devtools: forbid variable declaration inside for 2020-07-03 10:04:15 +02:00
mlx5_devx_cmds.h common/mlx5: move doorbell record from net driver 2020-06-30 14:52:30 +02:00
mlx5_prm.h common/mlx5: add virtio queue protection domain 2020-06-30 14:52:29 +02:00
rte_common_mlx5_version.map common/mlx5: move doorbell record from net driver 2020-06-30 14:52:30 +02:00