patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Kevin Traynor <ktraynor@redhat.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: Hemant Agrawal <hemant.agrawal@nxp.com>,
	David Marchand <david.marchand@redhat.com>,
	dpdk stable <stable@dpdk.org>
Subject: patch 'bus/fslmc: fix const pointer in device name parsing' has been queued to stable release 24.11.4
Date: Mon,  1 Dec 2025 14:41:01 +0000	[thread overview]
Message-ID: <20251201144112.633118-2-ktraynor@redhat.com> (raw)
In-Reply-To: <20251201144112.633118-1-ktraynor@redhat.com>

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/b57e9912220d54bb43c4e81069a11f18a2f67113

Thanks.

Kevin

---
From b57e9912220d54bb43c4e81069a11f18a2f67113 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen@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@networkplumber.org>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: David Marchand <david.marchand@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 68ad2b801e..3a89445262 100644
--- a/drivers/bus/fslmc/fslmc_bus.c
+++ b/drivers/bus/fslmc/fslmc_bus.c
@@ -239,5 +239,5 @@ 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;
-- 
2.51.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2025-12-01 11:18:48.669808944 +0000
+++ 0002-bus-fslmc-fix-const-pointer-in-device-name-parsing.patch	2025-12-01 11:18:48.567735501 +0000
@@ -1 +1 @@
-From f4ef899bb3aeca2fa195f9605ddaf7567f8b0afb Mon Sep 17 00:00:00 2001
+From b57e9912220d54bb43c4e81069a11f18a2f67113 Mon Sep 17 00:00:00 2001
@@ -8,0 +9,2 @@
+[ upstream commit f4ef899bb3aeca2fa195f9605ddaf7567f8b0afb ]
+
@@ -17 +18,0 @@
-Cc: stable@dpdk.org
@@ -27 +28 @@
-index 4529ec5085..abdb0ad50d 100644
+index 68ad2b801e..3a89445262 100644
@@ -30 +31 @@
-@@ -243,5 +243,5 @@ rte_fslmc_parse(const char *name, void *addr)
+@@ -239,5 +239,5 @@ rte_fslmc_parse(const char *name, void *addr)


  reply	other threads:[~2025-12-01 14:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-01 14:41 patch 'test/debug: fix IOVA mode on PPC64 without huge pages' " Kevin Traynor
2025-12-01 14:41 ` Kevin Traynor [this message]
2025-12-01 14:41 ` patch 'bus/ifpga: fix const pointer in device name parsing' " Kevin Traynor
2025-12-01 14:41 ` patch 'bus/uacce: fix const pointer in device matching' " Kevin Traynor
2025-12-01 14:41 ` patch 'common/qat: fix some const pointers' " Kevin Traynor
2025-12-01 14:41 ` patch 'crypto/caam_jr: fix const pointer in UIO filename parsing' " Kevin Traynor
2025-12-01 14:41 ` patch 'net/enetfec: " Kevin Traynor
2025-12-01 14:41 ` patch 'net/memif: fix const pointer in socket check' " Kevin Traynor
2025-12-01 14:41 ` patch 'app/procinfo: fix const pointer in collectd format' " Kevin Traynor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251201144112.633118-2-ktraynor@redhat.com \
    --to=ktraynor@redhat.com \
    --cc=david.marchand@redhat.com \
    --cc=hemant.agrawal@nxp.com \
    --cc=stable@dpdk.org \
    --cc=stephen@networkplumber.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).