[dpdk-test-report] |WARNING| pw56513 [PATCH 3/4] net/mlx5: accelerate DV flow counter query
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Jul 16 16:35:32 CEST 2019
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/56513
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'sh' - possible side-effects?
#612: FILE: drivers/net/mlx5/mlx5_flow.h:420:
+#define MLX5_CNT_CONTAINER(sh, batch, thread) (&(sh)->cmng.ccont \
+ [(((sh)->cmng.mhi[batch] >> (thread)) & 0x1) * 2 + (batch)])
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'batch' - possible side-effects?
#612: FILE: drivers/net/mlx5/mlx5_flow.h:420:
+#define MLX5_CNT_CONTAINER(sh, batch, thread) (&(sh)->cmng.ccont \
+ [(((sh)->cmng.mhi[batch] >> (thread)) & 0x1) * 2 + (batch)])
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'sh' - possible side-effects?
#614: FILE: drivers/net/mlx5/mlx5_flow.h:422:
+#define MLX5_CNT_CONTAINER_UNUSED(sh, batch, thread) (&(sh)->cmng.ccont \
+ [(~((sh)->cmng.mhi[batch] >> (thread)) & 0x1) * 2 + (batch)])
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'batch' - possible side-effects?
#614: FILE: drivers/net/mlx5/mlx5_flow.h:422:
+#define MLX5_CNT_CONTAINER_UNUSED(sh, batch, thread) (&(sh)->cmng.ccont \
+ [(~((sh)->cmng.mhi[batch] >> (thread)) & 0x1) * 2 + (batch)])
total: 0 errors, 0 warnings, 4 checks, 832 lines checked
More information about the test-report
mailing list