[dpdk-test-report] |WARNING| pw79651 [PATCH v2 32/56] net/txgbe: add RX and TX queue info get

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 6 11:43:20 CEST 2020


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

_coding style issues_


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

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

total: 0 errors, 1 warnings, 1 checks, 116 lines checked


More information about the test-report mailing list