patch 'common/sfc_efx/base: fix annotation in netport stat describe' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 13:59:14 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/ff50911303dabaadc6f3003bcb8a92e27a34a41d
Thanks.
Kevin
---
>From ff50911303dabaadc6f3003bcb8a92e27a34a41d Mon Sep 17 00:00:00 2001
From: Andy Moreton <andy.moreton at amd.com>
Date: Fri, 14 Aug 2026 16:54:34 +0400
Subject: [PATCH] common/sfc_efx/base: fix annotation in netport stat describe
[ upstream commit caa06f4233e28c572333d501b8dd450931f6b7c7 ]
Code analysis reported a NULL dereference of the lut parameter.
Fix the annotation to show it is not optional (must be non-NULL).
Fixes: f2f77453cb9f ("common/sfc_efx/base: fill in software LUT for MAC statistics")
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 fd4432a2a4..e7ca6d3302 100644
--- a/drivers/common/sfc_efx/base/efx_np.c
+++ b/drivers/common/sfc_efx/base/efx_np.c
@@ -734,5 +734,5 @@ efx_np_stat_describe(
__in uint8_t *hw_entry_buf,
__in unsigned int lut_nentries,
- __out_ecount_opt(lut_nentries) efx_np_stat_t *lut)
+ __out_ecount(lut_nentries) efx_np_stat_t *lut)
{
const efx_np_stat_t *map;
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:40.150533219 +0000
+++ 0028-common-sfc_efx-base-fix-annotation-in-netport-stat-d.patch 2026-12-03 12:52:39.033067291 +0000
@@ -1 +1 @@
-From caa06f4233e28c572333d501b8dd450931f6b7c7 Mon Sep 17 00:00:00 2001
+From ff50911303dabaadc6f3003bcb8a92e27a34a41d Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit caa06f4233e28c572333d501b8dd450931f6b7c7 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list