[dpdk-test-report] |WARNING| pw56230 [PATCH 1/4] net/mlx5: accelerate DV flow counter transactions

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jul 8 16:09:02 CEST 2019


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'typ' - possible side-effects?
#1331: 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?
#1331: 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, 1337 lines checked


More information about the test-report mailing list