automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw24714 [PATCH 3/4] cxgbe: remove rmb bottleneck in RX path
       [not found] <05be2ac96a860b3b6468fb86d68aad203ba364ea.1495856647.git.rahul.lakkireddy@chelsio.com>
@ 2017-05-27  5:48 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-05-27  5:48 UTC (permalink / raw)
  To: test-report; +Cc: Rahul Lakkireddy

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'head' - possible side-effects?
#37: FILE: drivers/net/cxgbe/sge.c:686:
+#define PIDXDIFF(head, tail, wrap) \
+	((tail) >= (head) ? (tail) - (head) : (wrap) - (head) + (tail))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'tail' - possible side-effects?
#37: FILE: drivers/net/cxgbe/sge.c:686:
+#define PIDXDIFF(head, tail, wrap) \
+	((tail) >= (head) ? (tail) - (head) : (wrap) - (head) + (tail))

CHECK:MACRO_ARG_REUSE: Macro argument reuse 'q' - possible side-effects?
#39: FILE: drivers/net/cxgbe/sge.c:688:
+#define P_IDXDIFF(q, idx) PIDXDIFF((q)->cidx, idx, (q)->size)

WARNING:AVOID_BUG: Avoid crashing the kernel - try using WARN_ON & recovery code rather than BUG() or BUG_ON()
#129: FILE: drivers/net/cxgbe/sge.c:1494:
+				BUG_ON(!(len & F_RSPD_NEWBUF));

total: 0 errors, 1 warnings, 3 checks, 176 lines checked

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

only message in thread, other threads:[~2017-05-27  5:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <05be2ac96a860b3b6468fb86d68aad203ba364ea.1495856647.git.rahul.lakkireddy@chelsio.com>
2017-05-27  5:48 ` [dpdk-test-report] |WARNING| pw24714 [PATCH 3/4] cxgbe: remove rmb bottleneck in RX path 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).