patch 'common/dpaax: fix unused variable in non-debug build' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 13:59:34 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/5579fecbbee48a4dfb08c7b7781e3385cec3e794
Thanks.
Kevin
---
>From 5579fecbbee48a4dfb08c7b7781e3385cec3e794 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen at networkplumber.org>
Date: Sat, 29 Aug 2026 08:44:45 -0700
Subject: [PATCH] common/dpaax: fix unused variable in non-debug build
[ upstream commit cad451c1dd80d2cfc0acf6be4df5bad91d2a41a5 ]
Fix compiler warning on clang-23.
dpaa_of.c:14:12: warning: variable 'alive' set but not used
[-Wunused-but-set-global]
The 'alive' flag is only read by DPAAX_HWWARN, which expands to an empty
statement and discards its condition unless RTE_LIBRTE_DPAAX_DEBUG is
defined. Make the empty expansion consume its argument so the condition
is still checked in a non-debug build.
Fixes: 8c83f28cc8a4 ("common/dpaax: move OF library from DPAA bus")
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Acked-by: Hemant Agrawal <hemant.agrawal at nxp.com>
Acked-by: David Marchand <david.marchand at redhat.com>
---
drivers/common/dpaax/dpaax_logs.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/common/dpaax/dpaax_logs.h b/drivers/common/dpaax/dpaax_logs.h
index 90f0c98863..431a16f45a 100644
--- a/drivers/common/dpaax/dpaax_logs.h
+++ b/drivers/common/dpaax/dpaax_logs.h
@@ -6,4 +6,5 @@
#define _DPAAX_LOGS_H_
+#include <rte_common.h>
#include <rte_log.h>
@@ -18,5 +19,5 @@ extern int dpaax_logger;
} while (0)
#else
-#define DPAAX_HWWARN(cond, fmt, ...) do { } while (0)
+#define DPAAX_HWWARN(cond, fmt, ...) do { RTE_SET_USED(cond); } while (0)
#endif
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:40.691569476 +0000
+++ 0048-common-dpaax-fix-unused-variable-in-non-debug-build.patch 2026-12-03 12:52:39.046726454 +0000
@@ -1 +1 @@
-From cad451c1dd80d2cfc0acf6be4df5bad91d2a41a5 Mon Sep 17 00:00:00 2001
+From 5579fecbbee48a4dfb08c7b7781e3385cec3e794 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit cad451c1dd80d2cfc0acf6be4df5bad91d2a41a5 ]
+
@@ -17 +18,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list