* [dpdk-test-report] |WARNING| pw95655 [PATCH v8 6/7] event/cnxk: add Rx event vector fastpath
[not found] <20210711232958.2191-6-pbhagavatula@marvell.com>
@ 2021-07-11 23:31 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-07-11 23:31 UTC (permalink / raw)
To: test-report; +Cc: pbhagavatula
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
^ permalink raw reply [flat|nested] only message in thread