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

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

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1563287696-10509-4-git-send-email-matan@mellanox.com>
2019-07-16 14:35 ` [dpdk-test-report] |WARNING| pw56513 [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).