automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw54904 [PATCH v2] net/memif: multi-process support
       [not found] <20190618084851.5322-1-jgrajcia@cisco.com>
@ 2019-06-19 14:31 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-06-19 14:31 UTC (permalink / raw)
  To: test-report; +Cc: Jakub Grajciar

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

_coding style issues_


ERROR:CODE_INDENT: code indent should use tabs where possible
#321: FILE: drivers/net/memif/rte_eth_memif.c:146:
+                                free(reply);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#321: FILE: drivers/net/memif/rte_eth_memif.c:146:
+                                free(reply);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#322: FILE: drivers/net/memif/rte_eth_memif.c:147:
+                                return -ENOMEM;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#322: FILE: drivers/net/memif/rte_eth_memif.c:147:
+                                return -ENOMEM;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#327: FILE: drivers/net/memif/rte_eth_memif.c:152:
+                                free(reply);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#327: FILE: drivers/net/memif/rte_eth_memif.c:152:
+                                free(reply);$

ERROR:CODE_INDENT: code indent should use tabs where possible
#328: FILE: drivers/net/memif/rte_eth_memif.c:153:
+                                return -1;$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#328: FILE: drivers/net/memif/rte_eth_memif.c:153:
+                                return -1;$

ERROR:CODE_INDENT: code indent should use tabs where possible
#338: FILE: drivers/net/memif/rte_eth_memif.c:163:
+        free(reply);$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#338: FILE: drivers/net/memif/rte_eth_memif.c:163:
+        free(reply);$

CHECK:BRACES: Blank lines aren't necessary before a close brace '}'
#341: FILE: drivers/net/memif/rte_eth_memif.c:166:
+
+}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#831: FILE: drivers/net/memif/rte_eth_memif.c:805:
+		for (i = 0; i < dev->data->nb_rx_queues; i++) {
+			(*dev->dev_ops->rx_queue_release)(dev->data->rx_queues[i]);
+		}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#834: FILE: drivers/net/memif/rte_eth_memif.c:808:
+		for (i = 0; i < dev->data->nb_tx_queues; i++) {
+			(*dev->dev_ops->tx_queue_release)(dev->data->tx_queues[i]);
+		}

WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#987: FILE: drivers/net/memif/rte_eth_memif.c:1303:
+		return 0;
+	} else {

total: 5 errors, 8 warnings, 1 checks, 933 lines checked

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20190618084851.5322-1-jgrajcia@cisco.com>
2019-06-19 14:31 ` [dpdk-test-report] |WARNING| pw54904 [PATCH v2] net/memif: multi-process 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).