patch 'common/sfc_efx/base: fix annotations in SW-HW enum converter' has been queued to stable release 25.11.5

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 13:59:13 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/5b3a7035ba731c85067dd051e329bc98107719b5

Thanks.

Kevin

---
>From 5b3a7035ba731c85067dd051e329bc98107719b5 Mon Sep 17 00:00:00 2001
From: Andy Moreton <andy.moreton at amd.com>
Date: Fri, 14 Aug 2026 16:54:33 +0400
Subject: [PATCH] common/sfc_efx/base: fix annotations in SW-HW enum converter

[ upstream commit 69128422c5dbde6a1212bdeb57e5f987706beb67 ]

Code analysis reports returning uninitialised memory in *enum_hwp.
Fix the annotations to show that the write only occurs on successful
return.

Fixes: 2be7d23f3fe6 ("common/sfc_efx/base: fill in loopback modes on netport probe")

Signed-off-by: Andy Moreton <andy.moreton at amd.com>
Reviewed-by: Ivan Malov <ivan.malov at arknetworks.am>
Reviewed-by: Viacheslav Galaktionov <viacheslav.galaktionov at arknetworks.am>
---
 drivers/common/sfc_efx/base/efx_np.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/common/sfc_efx/base/efx_np.c b/drivers/common/sfc_efx/base/efx_np.c
index da2a158142..fd4432a2a4 100644
--- a/drivers/common/sfc_efx/base/efx_np.c
+++ b/drivers/common/sfc_efx/base/efx_np.c
@@ -505,5 +505,5 @@ efx_np_sw_link_mode_to_cap(
 }
 
-static					void
+__success(*supportedp != 0)	static	void
 efx_np_cap_enum_sw_to_hw(
 	__in_ecount(hw_sw_map_nentries)	const struct efx_np_cap_map *hw_sw_map,
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:40.123546782 +0000
+++ 0027-common-sfc_efx-base-fix-annotations-in-SW-HW-enum-co.patch	2026-12-03 12:52:39.032734031 +0000
@@ -1 +1 @@
-From 69128422c5dbde6a1212bdeb57e5f987706beb67 Mon Sep 17 00:00:00 2001
+From 5b3a7035ba731c85067dd051e329bc98107719b5 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 69128422c5dbde6a1212bdeb57e5f987706beb67 ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list