[dpdk-test-report] |WARNING| pw54904 [PATCH v2] net/memif: multi-process support

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jun 19 16:31:30 CEST 2019


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


More information about the test-report mailing list