patch 'examples/packet_ordering: 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:39 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/028b419fd74bbab60607bf5ee6ff816dc4135222
Thanks.
Kevin
---
>From 028b419fd74bbab60607bf5ee6ff816dc4135222 Mon Sep 17 00:00:00 2001
From: Aarnav JP <ajp at marvell.com>
Date: Fri, 27 Mar 2026 09:45:16 +0530
Subject: [PATCH] examples/packet_ordering: fix format specifier for port ID
[ upstream commit 3a5b6366ac28c9d5bf9e9e149e67f70534a8efc0 ]
port_id is uint16_t, use PRIu16 instead of PRIu8 to fix
format specifier mismatch warning with GCC 15.
../examples/packet_ordering/main.c: In function 'main':
../examples/packet_ordering/main.c:740:46:
warning: format '%hhu' expects argument of type 'unsigned char',
but argument 3 has type 'uint16_t' [-Wformat=]
740 | rte_exit(EXIT_FAILURE, "Cannot initialize port %"PRIu8"\n",
| ^
Fixes: f8244c6399d9 ("ethdev: increase port id range")
Signed-off-by: Aarnav JP <ajp at marvell.com>
Reviewed-by: David Marchand <david.marchand at redhat.com>
---
examples/packet_ordering/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/packet_ordering/main.c b/examples/packet_ordering/main.c
index 5ffdf72d71..748fe0826a 100644
--- a/examples/packet_ordering/main.c
+++ b/examples/packet_ordering/main.c
@@ -738,5 +738,5 @@ main(int argc, char **argv)
if (configure_eth_port(port_id) != 0)
- rte_exit(EXIT_FAILURE, "Cannot initialize port %"PRIu8"\n",
+ rte_exit(EXIT_FAILURE, "Cannot initialize port %"PRIu16"\n",
port_id);
}
--
2.53.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-04-01 12:56:52.053403158 +0100
+++ 0001-examples-packet_ordering-fix-format-specifier-for-po.patch 2026-04-01 12:56:52.005524077 +0100
@@ -1 +1 @@
-From 3a5b6366ac28c9d5bf9e9e149e67f70534a8efc0 Mon Sep 17 00:00:00 2001
+From 028b419fd74bbab60607bf5ee6ff816dc4135222 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 3a5b6366ac28c9d5bf9e9e149e67f70534a8efc0 ]
+
@@ -17 +18,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list