|WARNING| pw148801 [RFC PATCH 05/21] drivers/net: add prefix for driver-specific structs

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Nov 22 13:56:58 CET 2024


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

_coding style issues_


CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around txq->i40e_tx_ring[txq->tx_tail]
#189: FILE: drivers/net/i40e/i40e_rxtx.c:1420:
+	volatile struct i40e_tx_desc *txdp = &(txq->i40e_tx_ring[txq->tx_tail]);

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around txq->ixgbe_tx_ring[txq->tx_tail]
#1137: FILE: drivers/net/ixgbe/ixgbe_rxtx.c:201:
+	volatile union ixgbe_adv_tx_desc *txdp = &(txq->ixgbe_tx_ring[txq->tx_tail]);

CHECK:SPACING: No space is necessary after a cast
#1198: FILE: drivers/net/ixgbe/ixgbe_rxtx.c:2794:
+	txq->ixgbe_tx_ring = (union ixgbe_adv_tx_desc *) tz->addr;

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around txq->ixgbe_tx_ring[tx_id]
#1309: FILE: drivers/net/ixgbe/ixgbe_rxtx_vec_sse.c:736:
+		txdp = &(txq->ixgbe_tx_ring[tx_id]);

total: 0 errors, 0 warnings, 4 checks, 982 lines checked


More information about the test-report mailing list