automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw56512 [PATCH 1/4] net/mlx5: accelerate DV flow counter transactions
       [not found] <1563287696-10509-2-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/56512

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'typ' - possible side-effects?
#1345: FILE: drivers/net/mlx5/mlx5_prm.h:419:
+#define MLX5_SET64(typ, p, fld, v) \
+	do { \
+		assert(__mlx5_bit_sz(typ, fld) == 64); \
+		*((__be64 *)(p) + __mlx5_64_off(typ, fld)) = \
+			rte_cpu_to_be_64(v); \
+	} while (0)

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'fld' - possible side-effects?
#1345: FILE: drivers/net/mlx5/mlx5_prm.h:419:
+#define MLX5_SET64(typ, p, fld, v) \
+	do { \
+		assert(__mlx5_bit_sz(typ, fld) == 64); \
+		*((__be64 *)(p) + __mlx5_64_off(typ, fld)) = \
+			rte_cpu_to_be_64(v); \
+	} while (0)

total: 0 errors, 0 warnings, 2 checks, 1345 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-2-git-send-email-matan@mellanox.com>
2019-07-16 14:35 ` [dpdk-test-report] |WARNING| pw56512 [PATCH 1/4] net/mlx5: accelerate DV flow counter transactions 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).