patch 'bbdev: fix variable shadowing' has been queued to stable release 25.11.1
Kevin Traynor
ktraynor at redhat.com
Thu Feb 26 14:08:09 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/abdef14b57c19a85e6b1e4bbb40c6c0bcc47e4bb
Thanks.
Kevin
---
>From abdef14b57c19a85e6b1e4bbb40c6c0bcc47e4bb Mon Sep 17 00:00:00 2001
From: Bruce Richardson <bruce.richardson at intel.com>
Date: Wed, 14 Jan 2026 15:44:24 +0000
Subject: [PATCH] bbdev: fix variable shadowing
[ upstream commit deca182c8c129fd365853d407bf19767ceeeb2a7 ]
The "ret" variable is declared twice in rte_bbdev_setup_queues function.
The second declaration is unneeded so remove it.
Fixes: 4935e1e9f76e ("bbdev: introduce wireless base band device lib")
Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by: Stephen Hemminger <stephen at networkplumber.org>
---
lib/bbdev/rte_bbdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bbdev/rte_bbdev.c b/lib/bbdev/rte_bbdev.c
index 6c98296bdb..ea644c1f9b 100644
--- a/lib/bbdev/rte_bbdev.c
+++ b/lib/bbdev/rte_bbdev.c
@@ -358,5 +358,5 @@ rte_bbdev_setup_queues(uint16_t dev_id, uint16_t num_queues, int socket_id)
VALID_FUNC_OR_RET_ERR(dev->dev_ops->queue_release, dev_id);
for (i = 0; i < dev->data->num_queues; i++) {
- int ret = dev->dev_ops->queue_release(dev, i);
+ ret = dev->dev_ops->queue_release(dev, i);
if (ret < 0) {
rte_bbdev_log(ERR,
--
2.53.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-02-26 10:16:47.468004521 +0000
+++ 0007-bbdev-fix-variable-shadowing.patch 2026-02-26 10:16:46.883458941 +0000
@@ -1 +1 @@
-From deca182c8c129fd365853d407bf19767ceeeb2a7 Mon Sep 17 00:00:00 2001
+From abdef14b57c19a85e6b1e4bbb40c6c0bcc47e4bb Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit deca182c8c129fd365853d407bf19767ceeeb2a7 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list