automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw21055 [PATCH 04/13] net/sfc: factor out libefx-based Rx datapath
       [not found] <1488438439-14776-5-git-send-email-arybchenko@solarflare.com>
@ 2017-03-02  7:10 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-03-02  7:10 UTC (permalink / raw)
  To: test-report; +Cc: Andrew Rybchenko

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

_coding style issues_


WARNING:USE_NEGATIVE_ERRNO: return of an errno should typically be negative (ie: return -EEXIST)
#226: FILE: drivers/net/sfc/sfc_dp.c:81:
+		return EEXIST;

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#278: FILE: drivers/net/sfc/sfc_dp.h:40:
+#define SFC_DIV_ROUND_UP(a, b) \
+	__extension__ ({		\
+		typeof(a) _a = (a);	\
+		typeof(b) _b = (b);	\
+					\
+		(_a + (_b - 1)) / _b;	\
+	})

WARNING:TYPO_SPELLING: 'initalize' may be misspelled - perhaps 'initialize'?
#432: FILE: drivers/net/sfc/sfc_dp_rx.h:102:
+ * Allocate and initalize datapath receive queue.

CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided
#1182: FILE: drivers/net/sfc/sfc_rx.c:428:
+	rxq->pending = rxq->completed = rxq->added = rxq->pushed = 0;

total: 1 errors, 2 warnings, 1 checks, 1371 lines checked

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

only message in thread, other threads:[~2017-03-02  7:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1488438439-14776-5-git-send-email-arybchenko@solarflare.com>
2017-03-02  7:10 ` [dpdk-test-report] |WARNING| pw21055 [PATCH 04/13] net/sfc: factor out libefx-based Rx datapath 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).