automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw37980 [PATCH 1/2] testpmd: add parameters buffersize-before-send and flush-timeout
       [not found] <20180412143422.31739-2-jfreimann@redhat.com>
@ 2018-04-12 14:34 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-04-12 14:34 UTC (permalink / raw)
  To: test-report; +Cc: Jens Freimann

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

_coding style issues_


WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#61: FILE: app/test-pmd/fifo.h:13:
+fifo_put(struct rte_ring *r, struct rte_mbuf **data, unsigned num)

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#71: FILE: app/test-pmd/fifo.h:23:
+fifo_get(struct rte_ring *r, struct rte_mbuf **data, unsigned num)

ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#89: FILE: app/test-pmd/fifo.h:41:
+struct rte_ring * fifo_init(uint32_t qi, uint32_t pi);

ERROR:TRAILING_WHITESPACE: trailing whitespace
#91: FILE: app/test-pmd/fifo.h:43:
+#endif $

WARNING:BRACES: braces {} are not necessary for any arm of this statement
#160: FILE: app/test-pmd/iofwd.c:113:
+	if (ncf->prev_time == 0) {
[...]
+	} else {
[...]

ERROR:SPACING: space required before the open parenthesis '('
#171: FILE: app/test-pmd/iofwd.c:124:
+			if(rte_ring_empty(ncf->f))

ERROR:GLOBAL_INITIALISERS: do not initialise globals to 0
#246: FILE: app/test-pmd/testpmd.c:259:
+uint16_t bsize_before_send = 0;

ERROR:GLOBAL_INITIALISERS: do not initialise globals to 0
#251: FILE: app/test-pmd/testpmd.c:264:
+uint16_t flush_timer = 0;

ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#264: FILE: app/test-pmd/testpmd.c:422:
+struct rte_ring * fifo_init(uint32_t qi, uint32_t pi)

ERROR:SPACING: exactly one space required after that #ifdef
#312: FILE: app/test-pmd/testpmd.c:1803:
+#ifdef  RTE_TEST_PMD_NOISY

total: 7 errors, 3 warnings, 285 lines checked

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

only message in thread, other threads:[~2018-04-12 14:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20180412143422.31739-2-jfreimann@redhat.com>
2018-04-12 14:34 ` [dpdk-test-report] |WARNING| pw37980 [PATCH 1/2] testpmd: add parameters buffersize-before-send and flush-timeout 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).