patch 'examples/vm_power_manager: 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:23 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/c149caec6c4d6612eafc68e7354a8c9baa097a43

Thanks.

Shani

---
>From c149caec6c4d6612eafc68e7354a8c9baa097a43 Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand at redhat.com>
Date: Fri, 27 Mar 2026 08:52:49 +0100
Subject: [PATCH] examples/vm_power_manager: fix format specifier for port ID

[ upstream commit 626d4e39327333cd5508885162e45ca7fb94ef7f ]

Caught by code review, port_id is a uint16_t.

Fixes: 20c78ac9ee23 ("examples/vm_power_mgr: add port initialisation")

Signed-off-by: David Marchand <david.marchand at redhat.com>
---
 examples/vm_power_manager/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/vm_power_manager/main.c b/examples/vm_power_manager/main.c
index b159291d77..2d51f6f986 100644
--- a/examples/vm_power_manager/main.c
+++ b/examples/vm_power_manager/main.c
@@ -383,7 +383,7 @@ main(int argc, char **argv)
 
 			if (port_init(portid, mbuf_pool) != 0)
 				rte_exit(EXIT_FAILURE,
-					"Cannot init port %"PRIu8 "\n",
+					"Cannot init port %"PRIu16"\n",
 					portid);
 
 			for (w = 0; w < RTE_POWER_MAX_VFS; w++) {
-- 
2.43.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-04-14 14:44:36.531828375 +0300
+++ 0082-examples-vm_power_manager-fix-format-specifier-for-p.patch	2026-04-14 14:44:28.852532000 +0300
@@ -1 +1 @@
-From 626d4e39327333cd5508885162e45ca7fb94ef7f Mon Sep 17 00:00:00 2001
+From c149caec6c4d6612eafc68e7354a8c9baa097a43 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 626d4e39327333cd5508885162e45ca7fb94ef7f ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
@@ -17 +18 @@
-index c141382020..5b070ef2d6 100644
+index b159291d77..2d51f6f986 100644
@@ -20 +21 @@
-@@ -382,7 +382,7 @@ main(int argc, char **argv)
+@@ -383,7 +383,7 @@ main(int argc, char **argv)


More information about the stable mailing list