[dpdk-test-report] |WARNING| pw91378 [PATCH v4 01/14] net/mlx5: support three level table walk
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Apr 14 04:58:25 CEST 2021
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/91378
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'tbl' - possible side-effects?
#162: FILE: drivers/net/mlx5/mlx5_utils.h:997:
+#define MLX5_L3T_FOREACH(tbl, idx, entry) \
+ for (idx = 0, (entry) = mlx5_l3t_get_next((tbl), &idx); \
+ (entry); \
+ idx++, (entry) = mlx5_l3t_get_next((tbl), &idx))
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'idx' - possible side-effects?
#162: FILE: drivers/net/mlx5/mlx5_utils.h:997:
+#define MLX5_L3T_FOREACH(tbl, idx, entry) \
+ for (idx = 0, (entry) = mlx5_l3t_get_next((tbl), &idx); \
+ (entry); \
+ idx++, (entry) = mlx5_l3t_get_next((tbl), &idx))
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'entry' - possible side-effects?
#162: FILE: drivers/net/mlx5/mlx5_utils.h:997:
+#define MLX5_L3T_FOREACH(tbl, idx, entry) \
+ for (idx = 0, (entry) = mlx5_l3t_get_next((tbl), &idx); \
+ (entry); \
+ idx++, (entry) = mlx5_l3t_get_next((tbl), &idx))
total: 0 errors, 0 warnings, 3 checks, 100 lines checked
More information about the test-report
mailing list