From: Stephen Hemminger <stephen@networkplumber.org>
To: Bruce Richardson <bruce.richardson@intel.com>
Cc: dev@dpdk.org,
"Konstantin Ananyev" <konstantin.ananyev@huawei.com>,
"Chengwen Feng" <fengchengwen@huawei.com>,
"Morten Brørup" <mb@smartsharesystems.com>
Subject: Re: [PATCH v4 9/9] config: enable comma warnings
Date: Mon, 18 Aug 2025 10:15:45 -0700 [thread overview]
Message-ID: <20250818101545.3f356917@hermes.local> (raw)
In-Reply-To: <aKNWhb3YWogF4iRg@bricha3-mobl1.ger.corp.intel.com>
On Mon, 18 Aug 2025 17:36:21 +0100
Bruce Richardson <bruce.richardson@intel.com> wrote:
> > diff --git a/drivers/meson.build b/drivers/meson.build
> > index b62880db02..4c08a1dd9d 100644
> > --- a/drivers/meson.build
> > +++ b/drivers/meson.build
> > @@ -59,7 +59,7 @@ default_cflags = machine_args
> > default_cflags += ['-DALLOW_EXPERIMENTAL_API']
> > default_cflags += ['-DALLOW_INTERNAL_API']
> >
> > -warning_disable_cflags = ['-Wno-format-truncation', '-Wno-address-of-packed-member']
> > +warning_disable_cflags = ['-Wno-format-truncation', '-Wno-address-of-packed-member', '-Wno-comma']
>
> Since this patchset has already fixed some drivers, are we at a point where
> we can just disable this warning on a driver-by-driver basis rather than
> globally? That makes it easier to spot where the issues are and easier
> allows incremental improvement.
Would like to get all drivers fixed in final version.
The issue is that several drivers are open coding FOREACH_SAFE macros
and there is other series to address that.
next prev parent reply other threads:[~2025-08-18 17:15 UTC|newest]
Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-12 23:26 [RFC 0/7] avoid unnecessary use of comma op Stephen Hemminger
2025-03-12 23:26 ` [RFC 1/7] eal: replace unnecessary comma operator Stephen Hemminger
2025-03-12 23:26 ` [RFC 2/7] ipsec: " Stephen Hemminger
2025-03-12 23:27 ` [RFC 3/7] graph: " Stephen Hemminger
2025-03-12 23:27 ` [RFC 4/7] net/mlx4: replace unnecessary comma operators Stephen Hemminger
2025-03-12 23:27 ` [RFC 5/7] net/mlx5: " Stephen Hemminger
2025-03-12 23:27 ` [RFC 6/7] test: " Stephen Hemminger
2025-03-12 23:27 ` [RFC 7/7] app/testpmd: replace comma operator with bracket Stephen Hemminger
2025-08-14 21:28 ` [PATCH v2 0/6] Enable warnings about use of comma operator Stephen Hemminger
2025-08-14 21:28 ` [PATCH v2 1/6] eal: replace unnecessary " Stephen Hemminger
2025-08-15 13:48 ` Konstantin Ananyev
2025-08-18 7:59 ` Bruce Richardson
2025-08-14 21:28 ` [PATCH v2 2/6] ipsec: " Stephen Hemminger
2025-08-15 13:47 ` Konstantin Ananyev
2025-08-18 8:00 ` Bruce Richardson
2025-08-18 8:14 ` Morten Brørup
2025-08-14 21:28 ` [PATCH v2 3/6] graph: " Stephen Hemminger
2025-08-15 13:49 ` Konstantin Ananyev
2025-08-18 8:01 ` Bruce Richardson
2025-08-14 21:28 ` [PATCH v2 4/6] test: replace unnecessary comma operators Stephen Hemminger
2025-08-15 13:50 ` Konstantin Ananyev
2025-08-18 8:02 ` Bruce Richardson
2025-08-14 21:28 ` [PATCH v2 5/6] app/testpmd: replace comma operator with bracket Stephen Hemminger
2025-08-18 8:05 ` Bruce Richardson
2025-08-14 21:28 ` [PATCH v2 6/6] config: enable comma warnings Stephen Hemminger
2025-08-15 14:00 ` Konstantin Ananyev
2025-08-15 0:30 ` [PATCH v2 0/6] Enable warnings about use of comma operator fengchengwen
2025-08-15 6:40 ` Morten Brørup
2025-08-15 16:15 ` Stephen Hemminger
2025-08-15 16:26 ` [PATCH v3 0/7] avoid unnecessary " Stephen Hemminger
2025-08-15 16:26 ` [PATCH v3 1/7] eal: replace unnecessary " Stephen Hemminger
2025-08-15 16:26 ` [PATCH v3 2/7] ipsec: " Stephen Hemminger
2025-08-15 16:26 ` [PATCH v3 3/7] graph: " Stephen Hemminger
2025-08-15 16:26 ` [PATCH v3 4/7] test: replace unnecessary comma operators Stephen Hemminger
2025-08-16 7:37 ` Morten Brørup
2025-08-15 16:26 ` [PATCH v3 5/7] app/testpmd: replace comma operator with bracket Stephen Hemminger
2025-08-15 16:26 ` [PATCH v3 6/7] examples: remove unnecessary use of comma operator Stephen Hemminger
2025-08-15 16:26 ` [PATCH v3 7/7] config: enable comma warnings Stephen Hemminger
2025-08-16 7:45 ` [PATCH v3 0/7] avoid unnecessary use of comma operator Morten Brørup
2025-08-18 16:18 ` [PATCH v4 0/9] avoid unnecessary use of commaa operator Stephen Hemminger
2025-08-18 16:18 ` [PATCH v4 1/9] eal: replace unnecessary comma operator Stephen Hemminger
2025-08-18 16:18 ` [PATCH v4 2/9] ipsec: " Stephen Hemminger
2025-08-18 16:32 ` Bruce Richardson
2025-08-18 16:34 ` Bruce Richardson
2025-08-18 16:18 ` [PATCH v4 3/9] graph: " Stephen Hemminger
2025-08-18 16:18 ` [PATCH v4 4/9] test: replace unnecessary comma operators Stephen Hemminger
2025-08-18 16:18 ` [PATCH v4 5/9] app/testpmd: replace comma operator with bracket Stephen Hemminger
2025-08-18 16:18 ` [PATCH v4 6/9] examples: remove unnecessary use of comma operator Stephen Hemminger
2025-08-18 16:18 ` [PATCH v4 7/9] net/bnx2x: remove unnecessary " Stephen Hemminger
2025-08-18 16:18 ` [PATCH v4 8/9] net/bnxt: remove unnecessary use of " Stephen Hemminger
2025-08-18 16:18 ` [PATCH v4 9/9] config: enable comma warnings Stephen Hemminger
2025-08-18 16:36 ` Bruce Richardson
2025-08-18 17:15 ` Stephen Hemminger [this message]
2025-10-17 15:02 ` [PATCH v5 0/8] avoid unnecessary use of comma operator Stephen Hemminger
2025-10-17 15:02 ` [PATCH v5 1/8] eal: replace unnecessary " Stephen Hemminger
2025-10-17 15:02 ` [PATCH v5 2/8] ipsec: " Stephen Hemminger
2025-10-17 15:02 ` [PATCH v5 3/8] test: replace unnecessary comma operators Stephen Hemminger
2025-10-17 15:02 ` [PATCH v5 4/8] app/testpmd: replace comma operator with bracket Stephen Hemminger
2025-10-17 15:02 ` [PATCH v5 5/8] examples: remove unnecessary use of comma operator Stephen Hemminger
2025-10-17 15:41 ` Bruce Richardson
2025-10-20 6:40 ` fengchengwen
2025-10-17 15:02 ` [PATCH v5 6/8] net/bnx2x: remove unnecessary " Stephen Hemminger
2025-10-17 15:02 ` [PATCH v5 7/8] net/bnxt: remove unnecessary use of " Stephen Hemminger
2025-10-17 15:02 ` [PATCH v5 8/8] config: enable comma warnings Stephen Hemminger
2025-10-17 15:42 ` Bruce Richardson
2025-10-23 20:05 ` [PATCH v5 0/8] avoid unnecessary use of comma operator Thomas Monjalon
2025-10-23 23:49 ` Stephen Hemminger
2025-10-24 6:30 ` Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250818101545.3f356917@hermes.local \
--to=stephen@networkplumber.org \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=fengchengwen@huawei.com \
--cc=konstantin.ananyev@huawei.com \
--cc=mb@smartsharesystems.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.