Re: [net-next 06/12] bng_en: Add support to handle AGG events

From: kernel test robot

Date: Thu Nov 13 2025 - 02:30:44 EST


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-Query-PHY-and-report-link-status/20251112-050616
base: net-next/main
patch link: https://lore.kernel.org/r/20251111205829.97579-7-bhargava.marreddy%40broadcom.com
patch subject: [net-next 06/12] bng_en: Add support to handle AGG events
config: arc-randconfig-r122-20251113 (https://download.01.org/0day-ci/archive/20251113/202511131515.DHkaAel4-lkp@xxxxxxxxx/config)
compiler: arc-linux-gcc (GCC) 13.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251113/202511131515.DHkaAel4-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511131515.DHkaAel4-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
drivers/net/ethernet/broadcom/bnge/bnge_txrx.c:931:11: sparse: sparse: symbol 'bnge_lhint_arr' was not declared. Should it be static?
drivers/net/ethernet/broadcom/bnge/bnge_txrx.c: note: in included file (through drivers/net/ethernet/broadcom/bnge/bnge_resc.h, drivers/net/ethernet/broadcom/bnge/bnge.h):
>> drivers/net/ethernet/broadcom/bnge/bnge_netdev.h:524:34: sparse: sparse: marked inline, but without a definition

vim +524 drivers/net/ethernet/broadcom/bnge/bnge_netdev.h

515
516 u16 bnge_cp_ring_for_rx(struct bnge_rx_ring_info *rxr);
517 u16 bnge_cp_ring_for_tx(struct bnge_tx_ring_info *txr);
518 void bnge_fill_hw_rss_tbl(struct bnge_net *bn, struct bnge_vnic_info *vnic);
519 int bnge_alloc_rx_data(struct bnge_net *bn, struct bnge_rx_ring_info *rxr,
520 u16 prod, gfp_t gfp);
521 inline int bnge_alloc_rx_page(struct bnge_net *bn,
522 struct bnge_rx_ring_info *rxr,
523 u16 prod, gfp_t gfp);
> 524 inline u16 bnge_find_next_agg_idx(struct bnge_rx_ring_info *rxr, u16 idx);

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki