[dpdk-test-report] |WARNING| pw95655 [PATCH v8 6/7] event/cnxk: add Rx event vector fastpath

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jul 12 01:31:30 CEST 2021


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'b' - possible side-effects?
#190: FILE: drivers/net/cnxk/cn10k_rx.h:32:
+#define CQE_PTR_OFF(b, i, o, f)                                                \
+	(((f) & NIX_RX_VWQE_F) ?                                               \
+		       (uint64_t *)(((uintptr_t)((uint64_t *)(b))[i]) + (o)) : \
+		       (uint64_t *)(((uintptr_t)(b)) + CQE_SZ(i) + (o)))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'i' - possible side-effects?
#190: FILE: drivers/net/cnxk/cn10k_rx.h:32:
+#define CQE_PTR_OFF(b, i, o, f)                                                \
+	(((f) & NIX_RX_VWQE_F) ?                                               \
+		       (uint64_t *)(((uintptr_t)((uint64_t *)(b))[i]) + (o)) : \
+		       (uint64_t *)(((uintptr_t)(b)) + CQE_SZ(i) + (o)))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'o' - possible side-effects?
#190: FILE: drivers/net/cnxk/cn10k_rx.h:32:
+#define CQE_PTR_OFF(b, i, o, f)                                                \
+	(((f) & NIX_RX_VWQE_F) ?                                               \
+		       (uint64_t *)(((uintptr_t)((uint64_t *)(b))[i]) + (o)) : \
+		       (uint64_t *)(((uintptr_t)(b)) + CQE_SZ(i) + (o)))

total: 0 errors, 0 warnings, 3 checks, 402 lines checked


More information about the test-report mailing list