patch 'bbdev: fix variable shadowing' has been queued to stable release 24.11.5
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Fri Feb 20 15:55:08 CET 2026
Hi,
FYI, your patch has been queued to stable release 24.11.5
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 02/22/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/bluca/dpdk-stable
This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/79a635cec398a96a54f859d436cd9b0f8c8b9627
Thanks.
Luca Boccassi
---
>From 79a635cec398a96a54f859d436cd9b0f8c8b9627 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 46be2f6697..f009a0eee0 100644
--- a/lib/bbdev/rte_bbdev.c
+++ b/lib/bbdev/rte_bbdev.c
@@ -344,7 +344,7 @@ rte_bbdev_setup_queues(uint16_t dev_id, uint16_t num_queues, int socket_id)
if (dev->data->queues != NULL) {
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,
"Device %u queue %u release failed",
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-02-20 14:55:43.612362987 +0000
+++ 0006-bbdev-fix-variable-shadowing.patch 2026-02-20 14:55:43.152190193 +0000
@@ -1 +1 @@
-From deca182c8c129fd365853d407bf19767ceeeb2a7 Mon Sep 17 00:00:00 2001
+From 79a635cec398a96a54f859d436cd9b0f8c8b9627 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit deca182c8c129fd365853d407bf19767ceeeb2a7 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index 6c98296bdb..ea644c1f9b 100644
+index 46be2f6697..f009a0eee0 100644
@@ -22 +23 @@
-@@ -357,7 +357,7 @@ rte_bbdev_setup_queues(uint16_t dev_id, uint16_t num_queues, int socket_id)
+@@ -344,7 +344,7 @@ rte_bbdev_setup_queues(uint16_t dev_id, uint16_t num_queues, int socket_id)
More information about the stable
mailing list