Re: [net-next 05/12] bng_en: Add TX support
From: kernel test robot
Date: Wed Nov 12 2025 - 23:54:26 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-6-bhargava.marreddy%40broadcom.com
patch subject: [net-next 05/12] bng_en: Add TX support
config: arc-randconfig-r122-20251113 (https://download.01.org/0day-ci/archive/20251113/202511131255.uExsPeUo-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/202511131255.uExsPeUo-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/202511131255.uExsPeUo-lkp@xxxxxxxxx/
sparse warnings: (new ones prefixed by >>)
>> drivers/net/ethernet/broadcom/bnge/bnge_txrx.c:717: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 include/net/net_namespace.h, include/linux/netdevice.h):
include/linux/skbuff.h:2888:28: sparse: sparse: unsigned value that used to be signed checked against zero?
include/linux/skbuff.h:2888:28: sparse: signed value source
vim +/bnge_lhint_arr +717 drivers/net/ethernet/broadcom/bnge/bnge_txrx.c
716
> 717 const u16 bnge_lhint_arr[] = {
718 TX_BD_FLAGS_LHINT_512_AND_SMALLER,
719 TX_BD_FLAGS_LHINT_512_TO_1023,
720 TX_BD_FLAGS_LHINT_1024_TO_2047,
721 TX_BD_FLAGS_LHINT_1024_TO_2047,
722 TX_BD_FLAGS_LHINT_2048_AND_LARGER,
723 TX_BD_FLAGS_LHINT_2048_AND_LARGER,
724 TX_BD_FLAGS_LHINT_2048_AND_LARGER,
725 TX_BD_FLAGS_LHINT_2048_AND_LARGER,
726 TX_BD_FLAGS_LHINT_2048_AND_LARGER,
727 TX_BD_FLAGS_LHINT_2048_AND_LARGER,
728 TX_BD_FLAGS_LHINT_2048_AND_LARGER,
729 TX_BD_FLAGS_LHINT_2048_AND_LARGER,
730 TX_BD_FLAGS_LHINT_2048_AND_LARGER,
731 TX_BD_FLAGS_LHINT_2048_AND_LARGER,
732 TX_BD_FLAGS_LHINT_2048_AND_LARGER,
733 TX_BD_FLAGS_LHINT_2048_AND_LARGER,
734 TX_BD_FLAGS_LHINT_2048_AND_LARGER,
735 TX_BD_FLAGS_LHINT_2048_AND_LARGER,
736 TX_BD_FLAGS_LHINT_2048_AND_LARGER,
737 };
738
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki