From: Jakub Kicinski <kuba@kernel.org>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: Breno Leitao <leitao@debian.org>,
davem@davemloft.net, pabeni@redhat.com, edumazet@google.com,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
horms@kernel.org, Johannes Berg <johannes.berg@intel.com>
Subject: Re: [PATCH net-next v2] net: sysfs: Do not create sysfs for non BQL device
Date: Mon, 19 Feb 2024 12:16:00 -0800 [thread overview]
Message-ID: <20240219121600.03db3457@kernel.org> (raw)
In-Reply-To: <20240216092905.4e2d3c7c@hermes.local>
On Fri, 16 Feb 2024 09:29:05 -0800 Stephen Hemminger wrote:
> Various compilers will warn about missing parens in that expression.
> It is valid but mixing & and || can be bug trap.
$ git grep ' & [A-Z0-9_]* ||' | wc -l
855
Let's not sprinkle parenthesis in correct code because some old
compiler somewhere may doubt our ability to remember the precedence
of 14 operators.
prev parent reply other threads:[~2024-02-19 20:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-16 9:41 [PATCH net-next v2] net: sysfs: Do not create sysfs for non BQL device Breno Leitao
2024-02-16 17:29 ` Stephen Hemminger
2024-02-16 18:41 ` Florian Fainelli
2024-02-16 18:45 ` Eric Dumazet
2024-02-19 9:46 ` Breno Leitao
2024-06-09 4:47 ` Jason Xing
2024-06-09 13:19 ` Jason Xing
2024-02-19 10:46 ` Simon Horman
2024-02-19 20:16 ` Jakub Kicinski [this message]
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=20240219121600.03db3457@kernel.org \
--to=kuba@kernel.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=johannes.berg@intel.com \
--cc=leitao@debian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=stephen@networkplumber.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).