[PATCH v5 0/8] avoid unnecessary use of comma operator

Thomas Monjalon thomas at monjalon.net
Fri Oct 24 08:30:02 CEST 2025


24/10/2025 01:49, Stephen Hemminger:
> On Thu, 23 Oct 2025 22:05:46 +0200
> Thomas Monjalon <thomas at monjalon.net> wrote:
> 
> > 17/10/2025 17:02, Stephen Hemminger:
> > > Clang has ability to detect suspicious use of comma operator
> > > where a semicolon would have the same effect.
> > > Easy enough to fix in DPDK code.
> > > 
> > > Stephen Hemminger (8):
> > >   eal: replace unnecessary comma operator
> > >   ipsec: replace unnecessary comma operator
> > >   test: replace unnecessary comma operators
> > >   app/testpmd: replace comma operator with bracket
> > >   examples: remove unnecessary use of comma operator
> > >   net/bnx2x: remove unnecessary comma operator
> > >   net/bnxt: remove unnecessary use of comma operator
> > >   config: enable comma warnings  
> > 
> > Applied, thanks.
> > 
> > Please could you open bugs for drivers having such commas?
> 
> Ok done. The bugs are grouped into Intel, Mlx, and bnxt.

Thank you.




More information about the dev mailing list