[dpdk-test-report] |WARNING| pw76237 [PATCH v1 34/42] net/txgbe: add remaining RX and TX queue operations

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Sep 9 01:28:48 CEST 2020


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

_coding style issues_


CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
#378: FILE: drivers/net/txgbe/txgbe_rxtx.c:1987:
+		txq->tx_free_thresh >= RTE_PMD_TXGBE_TX_MAX_BURST) {
+

WARNING:BRACES: braces {} are not necessary for single statement blocks
#401: FILE: drivers/net/txgbe/txgbe_rxtx.c:2027:
+	for (i = 0; i < txq->nb_tx_desc; i++) {
+		txq->tx_ring[i] = zeroed_desc;
+	}

CHECK:SPACING: No space is necessary after a cast
#406: FILE: drivers/net/txgbe/txgbe_rxtx.c:2032:
+	prev = (uint16_t) (txq->nb_tx_desc - 1);

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around rxq->rx_ring[rxq->rx_tail]
#451: FILE: drivers/net/txgbe/txgbe_rxtx.c:2634:
+	rxdp = &(rxq->rx_ring[rxq->rx_tail]);

total: 0 errors, 1 warnings, 3 checks, 490 lines checked


More information about the test-report mailing list