patch 'common/sfc_efx/base: fix annotations in get fixed port props' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 13:59:12 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/eec75ed140fd4af642f97e3e363eab5bea40fcf5
Thanks.
Kevin
---
>From eec75ed140fd4af642f97e3e363eab5bea40fcf5 Mon Sep 17 00:00:00 2001
From: Andy Moreton <andy.moreton at amd.com>
Date: Fri, 14 Aug 2026 16:54:32 +0400
Subject: [PATCH] common/sfc_efx/base: fix annotations in get fixed port props
[ upstream commit 0687a5e39ec2a9b07e045caa8cc022d523a3f344 ]
Code analysis reports a buffer overrun for the sup_cap_rawp argument.
Fix the annotation to show the writable buffer size.
Fixes: a90549f527eb ("common/sfc_efx/base: get netport fixed capabilities on 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 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/common/sfc_efx/base/efx_np.c b/drivers/common/sfc_efx/base/efx_np.c
index 3b94d73b13..da2a158142 100644
--- a/drivers/common/sfc_efx/base/efx_np.c
+++ b/drivers/common/sfc_efx/base/efx_np.c
@@ -236,5 +236,6 @@ efx_np_get_fixed_port_props(
__in efx_nic_t *enp,
__in efx_np_handle_t nph,
- __out_opt uint8_t *sup_cap_rawp,
+ __out_bcount_opt(MC_CMD_ETH_AN_FIELDS_LEN)
+ uint8_t *sup_cap_rawp,
__out_opt uint32_t *sup_cap_maskp,
__out_opt efx_qword_t *loopback_cap_maskp)
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:40.095208067 +0000
+++ 0026-common-sfc_efx-base-fix-annotations-in-get-fixed-por.patch 2026-12-03 12:52:39.032367285 +0000
@@ -1 +1 @@
-From 0687a5e39ec2a9b07e045caa8cc022d523a3f344 Mon Sep 17 00:00:00 2001
+From eec75ed140fd4af642f97e3e363eab5bea40fcf5 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 0687a5e39ec2a9b07e045caa8cc022d523a3f344 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list