* [dpdk-test-report] |WARNING| pw41865 [v2, 02/23] net/bnxt: add Tx batching support
[not found] <20180628201549.3507-3-ajit.khaparde@broadcom.com>
@ 2018-06-28 20:17 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-06-28 20:17 UTC (permalink / raw)
To: test-report; +Cc: Ajit Khaparde
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/41865
_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-28 20:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20180628201549.3507-3-ajit.khaparde@broadcom.com>
2018-06-28 20:17 ` [dpdk-test-report] |WARNING| pw41865 [v2, 02/23] 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).