Use of comma as statement separator is discouraged and reported as warning by clang with -Wcomma
Signed-off-by: Stephen Hemminger <step...@networkplumber.org> --- 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.47.2