Skip to content

net/bnxt: shadow variable warnings

Stephen Hemminger dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2eal: add RTE_MIN4 and RTE_MAX4 macroslib/eal/include/rte_common.h+20 -00 replies
2/2net/bnxt: fix shadow variable warningsdrivers/net/bnxt/bnxt.h drivers/net/bnxt/bnxt_ethdev.c drivers/net/bnxt/bnxt_rxq.c +1 more+6 -123 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchKishore Padmanabha
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.51.0