[PATCH v5 0/8] avoid unnecessary use of comma operator
Thomas Monjalon
thomas at monjalon.net
Thu Oct 23 22:05:46 CEST 2025
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?
More information about the dev
mailing list