From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>
Subject: [PATCH 0/2] net/bnxt: shadow variable warnings
Date: Wed, 11 Mar 2026 17:20:25 -0700 [thread overview]
Message-ID: <20260312002123.867357-1-stephen@networkplumber.org> (raw)
This allows bnxt driver to build cleanly with -Wshadow.
Part of a larger effort to globally enable shadow warning.
Stephen Hemminger (2):
eal: add RTE_MIN4 and RTE_MAX4 macros
net/bnxt: fix shadow variable warnings
drivers/net/bnxt/bnxt.h | 6 +++---
drivers/net/bnxt/bnxt_ethdev.c | 3 +--
drivers/net/bnxt/bnxt_rxq.c | 6 ++----
drivers/net/bnxt/bnxt_txr.c | 3 ---
lib/eal/include/rte_common.h | 20 ++++++++++++++++++++
5 files changed, 26 insertions(+), 12 deletions(-)
--
2.51.0
next reply other threads:[~2026-03-12 0:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-12 0:20 Stephen Hemminger [this message]
2026-03-12 0:20 ` [PATCH 1/2] eal: add RTE_MIN4 and RTE_MAX4 macros Stephen Hemminger
2026-03-12 0:20 ` [PATCH 2/2] net/bnxt: fix shadow variable warnings Stephen Hemminger
2026-03-12 22:46 ` Kishore Padmanabha
2026-03-17 8:02 ` Thomas Monjalon
2026-03-18 3:16 ` Stephen Hemminger
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=20260312002123.867357-1-stephen@networkplumber.org \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.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