Thread (12 messages) 12 messages, 2 authors, 2026-03-25

Re: [PATCH net-next v9 03/10] bng_en: add ethtool link settings, get_link, and nway_reset

From: kernel test robot <hidden>
Date: 2026-03-25 10:37:24
Also in: lkml, oe-kbuild-all

Hi Bhargava,

kernel test robot noticed the following build warnings:

[auto build test WARNING on net-next/main]

url:    https://github.com/intel-lab-lkp/linux/commits/Bhargava-Marreddy/bng_en-add-per-PF-workqueue-timer-and-slow-path-task/20260325-121249
base:   net-next/main
patch link:    https://lore.kernel.org/r/20260324200740.346029-4-bhargava.marreddy%40broadcom.com
patch subject: [PATCH net-next v9 03/10] bng_en: add ethtool link settings, get_link, and nway_reset
config: i386-randconfig-141-20260325 (https://download.01.org/0day-ci/archive/20260325/202603251832.dBi1052h-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
smatch: v0.5.0-9004-gb810ac53
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260325/202603251832.dBi1052h-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot [off-list ref]
| Closes: https://lore.kernel.org/oe-kbuild-all/202603251832.dBi1052h-lkp@intel.com/ (local)

All warnings (new ones prefixed by >>):

   drivers/net/ethernet/broadcom/bnge/bnge_link.c: In function 'bnge_set_link_ksettings':
quoted
drivers/net/ethernet/broadcom/bnge/bnge_link.c:1220:32: warning: variable 'link_info' set but not used [-Wunused-but-set-variable]
    1220 |         struct bnge_link_info *link_info;
         |                                ^~~~~~~~~


vim +/link_info +1220 drivers/net/ethernet/broadcom/bnge/bnge_link.c

  1212	
  1213	int bnge_set_link_ksettings(struct net_device *dev,
  1214				    const struct ethtool_link_ksettings *lk_ksettings)
  1215	{
  1216		const struct ethtool_link_settings *base = &lk_ksettings->base;
  1217		struct bnge_ethtool_link_info old_elink_info;
  1218		struct bnge_ethtool_link_info *elink_info;
  1219		struct bnge_net *bn = netdev_priv(dev);
1220		struct bnge_link_info *link_info;
-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help