[dpdk-test-report] |WARNING| pw67884 [PATCH 7/8] net/mlx5: split the counter struct

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Apr 7 06:01:51 CEST 2020


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/67884

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'pool' - possible side-effects?
#90: FILE: drivers/net/mlx5/mlx5.h:250:
+#define MLX5_CNT_TO_CNT_EXT(pool, cnt) (&((struct mlx5_flow_counter_ext *) \
+			    ((pool) + 1))[((cnt) - (pool)->counters_raw)])

total: 0 errors, 0 warnings, 1 checks, 564 lines checked


More information about the test-report mailing list