[PATCH 0/2] net/bnxt: shadow variable warnings

Stephen Hemminger
2026-03-12T00:21:32Z

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