[dpdk-test-report] |WARNING| pw27517 [PATCH v3 1/4] net/softnic: add softnic PMD

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Aug 11 14:38:07 CEST 2017


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

_coding style issues_


WARNING:STATIC_CONST_CHAR_ARRAY: static const char * array should probably be static const char * const
#207: FILE: drivers/net/softnic/rte_eth_softnic.c:52:
+static const char *pmd_valid_args[] = {

CHECK:SPACING: No space is necessary after a cast
#341: FILE: drivers/net/softnic/rte_eth_softnic.c:186:
+		rte_ring_free((struct rte_ring *) dev->data->tx_queues[i]);

CHECK:SPACING: No space is necessary after a cast
#381: FILE: drivers/net/softnic/rte_eth_softnic.c:226:
+	return (uint16_t) rte_ring_enqueue_burst(txq,

CHECK:SPACING: No space is necessary after a cast
#382: FILE: drivers/net/softnic/rte_eth_softnic.c:227:
+		(void **) tx_pkts,

CHECK:SPACING: No space is necessary after a cast
#411: FILE: drivers/net/softnic/rte_eth_softnic.c:256:
+			(void **) &pkts[pkts_len],

CHECK:SPACING: No space is necessary after a cast
#426: FILE: drivers/net/softnic/rte_eth_softnic.c:271:
+					(uint16_t) (pkts_len - pos));

CHECK:SPACING: No space is necessary after a cast
#439: FILE: drivers/net/softnic/rte_eth_softnic.c:284:
+				(uint16_t) (pkts_len - pos));

total: 0 errors, 1 warnings, 894 lines checked


More information about the test-report mailing list