patch 'net/mvpp2: fix variable shadowing' has been queued to stable release 25.11.1
Kevin Traynor
ktraynor at redhat.com
Thu Feb 26 14:08:28 CET 2026
Hi,
FYI, your patch has been queued to stable release 25.11.1
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/02/26. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.
Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/2b1834e0916b1b6222b7b68ffc195caff3b0f62d
Thanks.
Kevin
---
>From 2b1834e0916b1b6222b7b68ffc195caff3b0f62d Mon Sep 17 00:00:00 2001
From: Thomas Monjalon <thomas at monjalon.net>
Date: Wed, 21 Jan 2026 12:06:01 +0100
Subject: [PATCH] net/mvpp2: fix variable shadowing
[ upstream commit fc97ac545fcb5983dd9f6b5c9cc4a957968e8c8f ]
With shadowing warning enabled, we can see "i" was declared twice:
drivers/net/mvpp2/mrvl_ethdev.c: In function 'mrvl_rx_pkt_burst':
error: declaration of 'i' shadows a previous local [-Werror=shadow]
2676 | int i;
| ^
/mrvl_ethdev.c:2592:13: note: shadowed declaration is here
2592 | int i, ret, rx_done = 0;
| ^
Fixes: afb4d0d0bf91 ("net/mrvl: add Rx/Tx support")
Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
Acked-by: David Marchand <david.marchand at redhat.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
drivers/net/mvpp2/mrvl_ethdev.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/mvpp2/mrvl_ethdev.c b/drivers/net/mvpp2/mrvl_ethdev.c
index 845819e4d8..1074092d43 100644
--- a/drivers/net/mvpp2/mrvl_ethdev.c
+++ b/drivers/net/mvpp2/mrvl_ethdev.c
@@ -2674,5 +2674,4 @@ mrvl_rx_pkt_burst(void *rxq, struct rte_mbuf **rx_pkts, uint16_t nb_pkts)
mrvl_fill_bpool(q, q->priv->fill_bpool_buffs);
} else if (unlikely(num > q->priv->bpool_max_size)) {
- int i;
int pkt_to_remove = num - q->priv->bpool_init_size;
struct rte_mbuf *mbuf;
--
2.53.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-02-26 10:16:48.146889371 +0000
+++ 0026-net-mvpp2-fix-variable-shadowing.patch 2026-02-26 10:16:46.927459133 +0000
@@ -1 +1 @@
-From fc97ac545fcb5983dd9f6b5c9cc4a957968e8c8f Mon Sep 17 00:00:00 2001
+From 2b1834e0916b1b6222b7b68ffc195caff3b0f62d Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit fc97ac545fcb5983dd9f6b5c9cc4a957968e8c8f ]
+
@@ -17 +18,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list