public inbox for dev@dpdk.org
 help / color / mirror / Atom feed
* [PATCH] net/idpf: fix comma operator warning
@ 2026-03-12 16:43 Stephen Hemminger
  2026-03-12 16:57 ` Bruce Richardson
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Hemminger @ 2026-03-12 16:43 UTC (permalink / raw)
  To: dev
  Cc: Stephen Hemminger, Jingjing Wu, Praveen Shetty, Shaiq Wani,
	Bruce Richardson

Fix comma operator misuse warnings with clang compiler in idpf that
was missed in previous change. Shows up  when -Wcomma enabled.

Fixes: 57560a92167a ("net/idpf: add AVX2 Tx path for split queue config")

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 drivers/net/intel/idpf/idpf_common_rxtx_avx2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/intel/idpf/idpf_common_rxtx_avx2.c b/drivers/net/intel/idpf/idpf_common_rxtx_avx2.c
index 4e1062f22d..db7728afad 100644
--- a/drivers/net/intel/idpf/idpf_common_rxtx_avx2.c
+++ b/drivers/net/intel/idpf/idpf_common_rxtx_avx2.c
@@ -842,7 +842,7 @@ idpf_splitq_vtx_avx2(struct idpf_flex_tx_sched_desc *txdp,
 	/* align if needed */
 	if (((uintptr_t)txdp & 0x1F) != 0 && nb_pkts != 0) {
 		idpf_splitq_vtx1_avx2(txdp, *pkt, flags);
-		txdp++, pkt++, nb_pkts--;
+		txdp++; pkt++; nb_pkts--;
 	}
 
 	for (; nb_pkts >= IDPF_VPMD_DESCS_PER_LOOP; txdp += IDPF_VPMD_DESCS_PER_LOOP,
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-03-25 22:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-12 16:43 [PATCH] net/idpf: fix comma operator warning Stephen Hemminger
2026-03-12 16:57 ` Bruce Richardson
2026-03-25 22:53   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox