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

luca.boccassi at gmail.com luca.boccassi at gmail.com
Tue Mar 31 23:27:33 CEST 2026


Hi,

FYI, your patch has been queued to stable release 24.11.5

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/02/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/bluca/dpdk-stable

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/48ad0e0c28bd2e7b56c26c8b94ba0aa970180f28

Thanks.

Luca Boccassi

---
>From 48ad0e0c28bd2e7b56c26c8b94ba0aa970180f28 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 c141382020..5b070ef2d6 100644
--- a/examples/vm_power_manager/main.c
+++ b/examples/vm_power_manager/main.c
@@ -382,7 +382,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.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-03-31 22:26:25.187543863 +0100
+++ 0003-examples-vm_power_manager-fix-format-specifier-for-p.patch	2026-03-31 22:26:24.874695875 +0100
@@ -1 +1 @@
-From 626d4e39327333cd5508885162e45ca7fb94ef7f Mon Sep 17 00:00:00 2001
+From 48ad0e0c28bd2e7b56c26c8b94ba0aa970180f28 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 626d4e39327333cd5508885162e45ca7fb94ef7f ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org


More information about the stable mailing list