[PATCH 1/2] net/mlx4: fix unnecessary comma compilation warnings

Gregory Etelson getelson at nvidia.com
Wed Oct 29 10:55:03 CET 2025


The patch fixes compilation warnings produced by clang -Wcomma option.

Bugzilla ID: 1810
Fixes: ba576975a89b ("net/mlx4: support hardware TSO")
Cc: stable at dpdk.org

Signed-off-by: Gregory Etelson <getelson at nvidia.com>
---
 drivers/net/mlx4/mlx4_rxtx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/mlx4/mlx4_rxtx.c b/drivers/net/mlx4/mlx4_rxtx.c
index 947cae491c..a4df6f7bcb 100644
--- a/drivers/net/mlx4/mlx4_rxtx.c
+++ b/drivers/net/mlx4/mlx4_rxtx.c
@@ -638,7 +638,7 @@ mlx4_tx_burst_fill_tso_hdr(struct rte_mbuf *buf,
 			thdr.vto = sq->buf;
 		/* New TXBB, stash the first 32bits for later use. */
 		pv[*pv_counter].dst = (volatile uint32_t *)thdr.to;
-		pv[(*pv_counter)++].val = *(uint32_t *)from,
+		pv[(*pv_counter)++].val = *(uint32_t *)from;
 		from += sizeof(uint32_t);
 		thdr.to += sizeof(uint32_t);
 		remain_size -= txbb_avail_space + sizeof(uint32_t);
-- 
2.51.0



More information about the stable mailing list