patch 'net/rnp: fix register debug log format' has been queued to stable release 25.11.5

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 13:59:50 CET 2026


Hi,

FYI, your patch has been queued to stable release 25.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 12/08/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/b568dbf77caf35fc266e555bd03430740cc67170

Thanks.

Kevin

---
>From b568dbf77caf35fc266e555bd03430740cc67170 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen at networkplumber.org>
Date: Fri, 4 Sep 2026 12:12:41 -0700
Subject: [PATCH] net/rnp: fix register debug log format

[ upstream commit e36c7708383f48294fa17a441930703b52f10eff ]

The register offset is a size_t but was printed with %p, producing a
-Wformat warning at every call site (22 in a full build) when
RTE_LIBRTE_RNP_REG_DEBUG is enabled.  Print it with %zx instead.

Fixes: 18d555f74fcf ("net/rnp: add mailbox basic operations")

Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
 drivers/net/rnp/base/rnp_osdep.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/rnp/base/rnp_osdep.h b/drivers/net/rnp/base/rnp_osdep.h
index 58dcb40f90..a95a37f2fe 100644
--- a/drivers/net/rnp/base/rnp_osdep.h
+++ b/drivers/net/rnp/base/rnp_osdep.h
@@ -91,5 +91,5 @@ rnp_reg_read32(const void *base, size_t offset)
 	u32 v = rte_read32(((const u8 *)base + offset));
 
-	RNP_PMD_REG_LOG(DEBUG, "offset=%p val=%#"PRIx32"", offset, v);
+	RNP_PMD_REG_LOG(DEBUG, "offset=%#zx val=%#"PRIx32"", offset, v);
 	return v;
 }
@@ -98,5 +98,5 @@ static inline void
 rnp_reg_write32(volatile void *base, size_t offset, u32 val)
 {
-	RNP_PMD_REG_LOG(DEBUG, "offset=%p val=%#"PRIx32"", offset, val);
+	RNP_PMD_REG_LOG(DEBUG, "offset=%#zx val=%#"PRIx32"", offset, val);
 	rte_write32(val, ((volatile u8 *)base + offset));
 }
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:41.126642135 +0000
+++ 0064-net-rnp-fix-register-debug-log-format.patch	2026-12-03 12:52:39.064061303 +0000
@@ -1 +1 @@
-From e36c7708383f48294fa17a441930703b52f10eff Mon Sep 17 00:00:00 2001
+From b568dbf77caf35fc266e555bd03430740cc67170 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit e36c7708383f48294fa17a441930703b52f10eff ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list