automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw56233 [PATCH 3/4] net/mlx5: accelerate DV flow counter query
       [not found] <1562594861-27123-4-git-send-email-matan@mellanox.com>
@ 2019-07-08 14:09 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-07-08 14:09 UTC (permalink / raw)
  To: test-report; +Cc: Matan Azrad

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'sh' - possible side-effects?
#619: FILE: drivers/net/mlx5/mlx5_flow.h:415:
+#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?
#619: FILE: drivers/net/mlx5/mlx5_flow.h:415:
+#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?
#621: FILE: drivers/net/mlx5/mlx5_flow.h:417:
+#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?
#621: FILE: drivers/net/mlx5/mlx5_flow.h:417:
+#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, 839 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-07-08 14:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1562594861-27123-4-git-send-email-matan@mellanox.com>
2019-07-08 14:09 ` [dpdk-test-report] |WARNING| pw56233 [PATCH 3/4] net/mlx5: accelerate DV flow counter query checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).