patch 'bus/fslmc: fix const pointer in device name parsing' has been queued to stable release 23.11.7
Shani Peretz
shperetz at nvidia.com
Tue Mar 31 08:23:20 CEST 2026
Hi,
FYI, your patch has been queued to stable release 23.11.7
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 04/05/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/shanipr/dpdk-stable
This queued commit can be viewed at:
https://github.com/shanipr/dpdk-stable/commit/c0e8d7659736842205510553a6abb32a92aca322
Thanks.
Shani
---
>From c0e8d7659736842205510553a6abb32a92aca322 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen at networkplumber.org>
Date: Tue, 25 Nov 2025 06:46:10 -0800
Subject: [PATCH] bus/fslmc: fix const pointer in device name parsing
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[ upstream commit f4ef899bb3aeca2fa195f9605ddaf7567f8b0afb ]
With latest glibc (Fedora Rawhide):
drivers/bus/fslmc/fslmc_bus.c: In function ‘rte_fslmc_parse’:
drivers/bus/fslmc/fslmc_bus.c:298:15: error:
assignment discards ‘const’ qualifier from pointer target type
298 | t_ptr = strchr(sep, '.');
| ^
Fixes: e67a61614d0b ("bus/fslmc: support device iteration")
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Acked-by: Hemant Agrawal <hemant.agrawal at nxp.com>
Acked-by: David Marchand <david.marchand at redhat.com>
---
drivers/bus/fslmc/fslmc_bus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bus/fslmc/fslmc_bus.c b/drivers/bus/fslmc/fslmc_bus.c
index adb452fd3e..f3572a2281 100644
--- a/drivers/bus/fslmc/fslmc_bus.c
+++ b/drivers/bus/fslmc/fslmc_bus.c
@@ -238,7 +238,7 @@ static int
rte_fslmc_parse(const char *name, void *addr)
{
uint16_t dev_id;
- char *t_ptr;
+ const char *t_ptr;
const char *sep;
uint8_t sep_exists = 0;
int ret = -1;
--
2.43.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-03-31 00:32:29.910224134 +0300
+++ 0001-bus-fslmc-fix-const-pointer-in-device-name-parsing.patch 2026-03-31 00:32:28.358255000 +0300
@@ -1 +1 @@
-From f4ef899bb3aeca2fa195f9605ddaf7567f8b0afb Mon Sep 17 00:00:00 2001
+From c0e8d7659736842205510553a6abb32a92aca322 Mon Sep 17 00:00:00 2001
@@ -8,0 +9,2 @@
+[ upstream commit f4ef899bb3aeca2fa195f9605ddaf7567f8b0afb ]
+
@@ -17 +18,0 @@
-Cc: stable at dpdk.org
@@ -27 +28 @@
-index 4529ec5085..abdb0ad50d 100644
+index adb452fd3e..f3572a2281 100644
@@ -30 +31 @@
-@@ -242,7 +242,7 @@ static int
+@@ -238,7 +238,7 @@ static int
More information about the stable
mailing list