patch 'bus/uacce: fix const pointer in device matching' has been queued to stable release 24.11.4
Kevin Traynor
ktraynor at redhat.com
Mon Dec 1 15:41:03 CET 2025
Hi,
FYI, your patch has been queued to stable release 24.11.4
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/03/25. 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/95661b2394992853194d00b95882085242c029e2
Thanks.
Kevin
---
>From 95661b2394992853194d00b95882085242c029e2 Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand at redhat.com>
Date: Fri, 28 Nov 2025 14:56:10 +0100
Subject: [PATCH] bus/uacce: fix const pointer in device matching
[ upstream commit c3a94087ef4986d9c6b590c9fbfb2e0f7c18fbd5 ]
With latest glibc (Fedora Rawhide):
../drivers/bus/uacce/uacce.c: In function 'uacce_match':
../drivers/bus/uacce/uacce.c:346:21: warning: assignment discards
'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
346 | map = strstr(dev->algs, id_table->dev_alg);
| ^
Fixes: 62b906cf06ba ("bus/uacce: introduce UACCE bus")
Signed-off-by: David Marchand <david.marchand at redhat.com>
Reviewed-by: Chengwen Feng <fengchengwen at huawei.com>
---
drivers/bus/uacce/uacce.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bus/uacce/uacce.c b/drivers/bus/uacce/uacce.c
index 36d5d48abb..dc473dc09a 100644
--- a/drivers/bus/uacce/uacce.c
+++ b/drivers/bus/uacce/uacce.c
@@ -328,6 +328,6 @@ uacce_match(const struct rte_uacce_driver *dr, const struct rte_uacce_device *de
{
const struct rte_uacce_id *id_table;
+ const char *map;
uint32_t len;
- char *map;
for (id_table = dr->id_table; id_table->dev_api != NULL; id_table++) {
--
2.51.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-12-01 11:18:48.747315833 +0000
+++ 0004-bus-uacce-fix-const-pointer-in-device-matching.patch 2025-12-01 11:18:48.570735507 +0000
@@ -1 +1 @@
-From c3a94087ef4986d9c6b590c9fbfb2e0f7c18fbd5 Mon Sep 17 00:00:00 2001
+From 95661b2394992853194d00b95882085242c029e2 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit c3a94087ef4986d9c6b590c9fbfb2e0f7c18fbd5 ]
+
@@ -14 +15,0 @@
-Cc: stable at dpdk.org
@@ -23 +24 @@
-index 87e68b3dbf..79f990c54c 100644
+index 36d5d48abb..dc473dc09a 100644
@@ -26 +27 @@
-@@ -329,6 +329,6 @@ uacce_match(const struct rte_uacce_driver *dr, const struct rte_uacce_device *de
+@@ -328,6 +328,6 @@ uacce_match(const struct rte_uacce_driver *dr, const struct rte_uacce_device *de
More information about the stable
mailing list