patch 'examples/ptpclient: fix format specifier for port ID' has been queued to stable release 25.11.1
Kevin Traynor
ktraynor at redhat.com
Wed Apr 1 13:56:40 CEST 2026
Hi,
FYI, your patch has been queued to stable release 25.11.1
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/03/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/kevintraynor/dpdk-stable
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/c91211dc0178b499d4e0101456eaebe49512d2c6
Thanks.
Kevin
---
>From c91211dc0178b499d4e0101456eaebe49512d2c6 Mon Sep 17 00:00:00 2001
From: Aarnav JP <ajp at marvell.com>
Date: Fri, 27 Mar 2026 09:45:17 +0530
Subject: [PATCH] examples/ptpclient: fix format specifier for port ID
[ upstream commit 66309fc782da72b6a1db3c9674f29e19c5769393 ]
portid is uint16_t, use PRIu16 instead of PRIu8 to fix
format specifier mismatch warning with GCC 15.
../examples/ptpclient/ptpclient.c: In function 'main':
../examples/ptpclient/ptpclient.c:797:30:
warning: format '%hhu' expects argument of type 'unsigned char',
but argument 3 has type 'uint16_t' [-Wformat=]
797 | "Cannot init port %"PRIu8 "\n",
| ^
Fixes: 47523597ff6c ("examples: fix port id type")
Signed-off-by: Aarnav JP <ajp at marvell.com>
Reviewed-by: David Marchand <david.marchand at redhat.com>
---
examples/ptpclient/ptpclient.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/ptpclient/ptpclient.c b/examples/ptpclient/ptpclient.c
index c344e7db1e..174ca5dd70 100644
--- a/examples/ptpclient/ptpclient.c
+++ b/examples/ptpclient/ptpclient.c
@@ -795,5 +795,5 @@ main(int argc, char *argv[])
} else {
rte_exit(EXIT_FAILURE,
- "Cannot init port %"PRIu8 "\n",
+ "Cannot init port %"PRIu16"\n",
portid);
}
--
2.53.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-04-01 12:56:52.079687431 +0100
+++ 0002-examples-ptpclient-fix-format-specifier-for-port-ID.patch 2026-04-01 12:56:52.006524077 +0100
@@ -1 +1 @@
-From 66309fc782da72b6a1db3c9674f29e19c5769393 Mon Sep 17 00:00:00 2001
+From c91211dc0178b499d4e0101456eaebe49512d2c6 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 66309fc782da72b6a1db3c9674f29e19c5769393 ]
+
@@ -17 +18,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list