automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw95835 [PATCH v9 6/7] event/cnxk: add Rx event vector fastpath
       [not found] <20210714090209.2744-6-pbhagavatula@marvell.com>
@ 2021-07-14  9:04 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-07-14  9:04 UTC (permalink / raw)
  To: test-report; +Cc: pbhagavatula

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

_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

only message in thread, other threads:[~2021-07-14  9:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210714090209.2744-6-pbhagavatula@marvell.com>
2021-07-14  9:04 ` [dpdk-test-report] |WARNING| pw95835 [PATCH v9 6/7] event/cnxk: add Rx event vector fastpath 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).