automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw41275 [02/31] net/bnxt: add Tx batching support
       [not found] <20180619213058.12273-3-ajit.khaparde@broadcom.com>
@ 2018-06-19 21:31 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-06-19 21:31 UTC (permalink / raw)
  To: test-report; +Cc: Ajit Khaparde

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'idx' - possible side-effects?
#42: FILE: drivers/net/bnxt/bnxt_cpr.h:32:
+#define NEXT_CMPL(cpr, idx, v, inc)	do { \
+	(idx) += (inc); \
+	if (unlikely((idx) == (cpr)->cp_ring_struct->ring_size)) { \
+		(v) = !(v); \
+		idx = 0; \
+	} \
+} while (0)

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'v' - possible side-effects?
#42: FILE: drivers/net/bnxt/bnxt_cpr.h:32:
+#define NEXT_CMPL(cpr, idx, v, inc)	do { \
+	(idx) += (inc); \
+	if (unlikely((idx) == (cpr)->cp_ring_struct->ring_size)) { \
+		(v) = !(v); \
+		idx = 0; \
+	} \
+} while (0)

total: 0 errors, 0 warnings, 2 checks, 180 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-06-19 21:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20180619213058.12273-3-ajit.khaparde@broadcom.com>
2018-06-19 21:31 ` [dpdk-test-report] |WARNING| pw41275 [02/31] net/bnxt: add Tx batching support 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).