[PATCH v5 0/8] avoid unnecessary use of comma operator
Stephen Hemminger
stephen at networkplumber.org
Fri Oct 24 01:49:02 CEST 2025
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.
More information about the dev
mailing list