From: Kevin Traynor <ktraynor@redhat.com>
To: David Marchand <david.marchand@redhat.com>
Cc: Chengwen Feng <fengchengwen@huawei.com>, dpdk stable <stable@dpdk.org>
Subject: patch 'app/procinfo: fix const pointer in collectd format' has been queued to stable release 24.11.4
Date: Mon, 1 Dec 2025 14:41:08 +0000 [thread overview]
Message-ID: <20251201144112.633118-9-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/5e42ff7946f3ecbd2c11d8ab3dd6912cf517dd82
Thanks.
Kevin
---
From 5e42ff7946f3ecbd2c11d8ab3dd6912cf517dd82 Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand@redhat.com>
Date: Fri, 28 Nov 2025 14:56:15 +0100
Subject: [PATCH] app/procinfo: fix const pointer in collectd format
[ upstream commit 11a64ff198cf3d380c00f08d3895cd06dcd90d44 ]
With latest glibc (Fedora Rawhide):
../app/proc-info/main.c: In function 'collectd_resolve_cnt_type':
../app/proc-info/main.c:689:26: warning: initialization discards
'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
689 | char *type_end = strrchr(cnt_name, '_');
| ^~~~~~~
Fixes: 2deb6b5246d7 ("app/procinfo: add collectd format and host id")
Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Chengwen Feng <fengchengwen@huawei.com>
---
app/proc-info/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/proc-info/main.c b/app/proc-info/main.c
index e1272164b1..5a092b127b 100644
--- a/app/proc-info/main.c
+++ b/app/proc-info/main.c
@@ -697,5 +697,5 @@ nic_stats_clear(uint16_t port_id)
static void collectd_resolve_cnt_type(char *cnt_type, size_t cnt_type_len,
const char *cnt_name) {
- char *type_end = strrchr(cnt_name, '_');
+ const char *type_end = strrchr(cnt_name, '_');
if ((type_end != NULL) &&
--
2.51.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-12-01 11:18:48.947823461 +0000
+++ 0009-app-procinfo-fix-const-pointer-in-collectd-format.patch 2025-12-01 11:18:48.584735535 +0000
@@ -1 +1 @@
-From 11a64ff198cf3d380c00f08d3895cd06dcd90d44 Mon Sep 17 00:00:00 2001
+From 5e42ff7946f3ecbd2c11d8ab3dd6912cf517dd82 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 11a64ff198cf3d380c00f08d3895cd06dcd90d44 ]
+
@@ -14 +15,0 @@
-Cc: stable@dpdk.org
@@ -23 +24 @@
-index b09c03ab35..5925bbb765 100644
+index e1272164b1..5a092b127b 100644
@@ -26 +27 @@
-@@ -687,5 +687,5 @@ nic_stats_clear(uint16_t port_id)
+@@ -697,5 +697,5 @@ nic_stats_clear(uint16_t port_id)
prev parent 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 ` patch 'bus/fslmc: fix const pointer in device name parsing' " Kevin Traynor
2025-12-01 14:41 ` patch 'bus/ifpga: " 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 ` Kevin Traynor [this message]
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-9-ktraynor@redhat.com \
--to=ktraynor@redhat.com \
--cc=david.marchand@redhat.com \
--cc=fengchengwen@huawei.com \
--cc=stable@dpdk.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).