public inbox for dev@dpdk.org
 help / color / mirror / Atom feed
* [PATCH] examples/vm_power_manager: fix format specifier for port ID
@ 2026-03-27  8:06 David Marchand
  2026-03-27  8:23 ` David Marchand
  0 siblings, 1 reply; 2+ messages in thread
From: David Marchand @ 2026-03-27  8:06 UTC (permalink / raw)
  To: dev
  Cc: ajp, stable, Anatoly Burakov, Sivaprasad Tummala,
	Konstantin Ananyev, Santosh Shukla, Nemanja Marjanovic,
	David Hunt

Caught by code review, port_id is a uint16_t.

Fixes: 20c78ac9ee23 ("examples/vm_power_mgr: add port initialisation")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@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..ae9b326f4a 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.53.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] examples/vm_power_manager: fix format specifier for port ID
  2026-03-27  8:06 [PATCH] examples/vm_power_manager: fix format specifier for port ID David Marchand
@ 2026-03-27  8:23 ` David Marchand
  0 siblings, 0 replies; 2+ messages in thread
From: David Marchand @ 2026-03-27  8:23 UTC (permalink / raw)
  To: David Marchand
  Cc: dev, ajp, stable, Anatoly Burakov, Sivaprasad Tummala,
	Konstantin Ananyev, Santosh Shukla, Nemanja Marjanovic,
	David Hunt

On Fri, 27 Mar 2026 at 09:07, David Marchand <david.marchand@redhat.com> wrote:
>
> Caught by code review, port_id is a uint16_t.
>
> Fixes: 20c78ac9ee23 ("examples/vm_power_mgr: add port initialisation")
> Cc: stable@dpdk.org
>
> Signed-off-by: David Marchand <david.marchand@redhat.com>

Applied.


-- 
David Marchand


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-03-27  8:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-27  8:06 [PATCH] examples/vm_power_manager: fix format specifier for port ID David Marchand
2026-03-27  8:23 ` David Marchand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox