[PATCH] net/fm10k: fix build with GCC 16

Bruce Richardson bruce.richardson at intel.com
Wed Nov 5 11:43:49 CET 2025


On Tue, Nov 04, 2025 at 02:52:37PM +0000, Medvedkin, Vladimir wrote:
> 
> On 11/4/2025 11:15 AM, Bruce Richardson wrote:
> > Build error reported with GCC 16, due to a set but unused variable. Fix
> > the issue by removing the setting of the var and marking it as unused.
> > 
> > ../drivers/net/intel/fm10k/base/fm10k_common.c: In function 'fm10k_unbind_hw_stats_q':
> > ../drivers/net/intel/fm10k/base/fm10k_common.c:480:62: warning:
> > parameter 'idx' set but not used [-Wunused-but-set-parameter=]
> >    480 | void fm10k_unbind_hw_stats_q(struct fm10k_hw_stats_q *q, u32 idx, u32 count)
> > 
> > Bugzilla ID: 1822
> > Fixes: 7223d200c227 ("fm10k: add base driver")
> > Cc: stable at dpdk.org
> > Cc: stephen at networkplumber.org
> > 
> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> Acked-by: Vladimir Medvedkin <vladimir.medvedkin at intel.com>
> > ---
Applied to dpdk-next-net-intel.

/Bruce


More information about the stable mailing list