Hi Gur, kernel test robot noticed the following build warnings: [auto build test WARNING on 67fa756408a5359941bea2c021740da5e9ed490d] url: https://github.com/intel-lab-lkp/linux/commits/Gur-Stavi/hinic3-module-initialization-and-tx-rx-logic/20250518-160845 base: 67fa756408a5359941bea2c021740da5e9ed490d patch link: https://lore.kernel.org/r/b5e005d0f8255df11f052b17a8deb856f8a7bdc2.1747556339.git.gur.stavi%40huawei.com patch subject: [PATCH net-next v15 1/1] hinic3: module initialization and tx/rx logic config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20250519/202505190148.x7llMRfr-lkp@xxxxxxxxx/config) compiler: alpha-linux-gcc (GCC) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250519/202505190148.x7llMRfr-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/202505190148.x7llMRfr-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): drivers/net/ethernet/huawei/hinic3/hinic3_tx.c: In function 'hinic3_tx_poll': >> drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:633:32: warning: variable 'nic_dev' set but not used [-Wunused-but-set-variable] 633 | struct hinic3_nic_dev *nic_dev; | ^~~~~~~ vim +/nic_dev +633 drivers/net/ethernet/huawei/hinic3/hinic3_tx.c 625 626 #define HINIC3_BDS_PER_SQ_WQEBB \ 627 (HINIC3_SQ_WQEBB_SIZE / sizeof(struct hinic3_sq_bufdesc)) 628 629 bool hinic3_tx_poll(struct hinic3_txq *txq, int budget) 630 { 631 struct net_device *netdev = txq->netdev; 632 u16 hw_ci, sw_ci, q_id = txq->sq->q_id; > 633 struct hinic3_nic_dev *nic_dev; -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki