patch 'examples/packet_ordering: fix format specifier for port ID' has been queued to stable release 23.11.7

Shani Peretz shperetz at nvidia.com
Wed Apr 15 12:00:21 CEST 2026


Hi,

FYI, your patch has been queued to stable release 23.11.7

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/19/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/shanipr/dpdk-stable

This queued commit can be viewed at:
https://github.com/shanipr/dpdk-stable/commit/bda0c0f6787bad0f48405741d4aa71f942529a1b

Thanks.

Shani

---
>From bda0c0f6787bad0f48405741d4aa71f942529a1b 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 f839db9102..80c550a8c5 100644
--- a/examples/packet_ordering/main.c
+++ b/examples/packet_ordering/main.c
@@ -737,7 +737,7 @@ main(int argc, char **argv)
 		printf("Initializing port %u... done\n", port_id);
 
 		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.43.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-04-14 14:44:36.349973741 +0300
+++ 0080-examples-packet_ordering-fix-format-specifier-for-po.patch	2026-04-14 14:44:28.844415000 +0300
@@ -1 +1 @@
-From 3a5b6366ac28c9d5bf9e9e149e67f70534a8efc0 Mon Sep 17 00:00:00 2001
+From bda0c0f6787bad0f48405741d4aa71f942529a1b Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 3a5b6366ac28c9d5bf9e9e149e67f70534a8efc0 ]
+
@@ -17 +18,0 @@
-Cc: stable at dpdk.org
@@ -26 +27 @@
-index 5ffdf72d71..748fe0826a 100644
+index f839db9102..80c550a8c5 100644


More information about the stable mailing list