Hi Heng, 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/Heng-Qi/ethtool-provide-customized-dim-profile-management/20240402-201527 base: net-next/main patch link: https://lore.kernel.org/r/1712059988-7705-4-git-send-email-hengqi%40linux.alibaba.com patch subject: [PATCH net-next v3 3/3] virtio-net: support dim profile fine-tuning config: openrisc-defconfig (https://download.01.org/0day-ci/archive/20240403/202404030423.IyBzs9Jd-lkp@xxxxxxxxx/config) compiler: or1k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240403/202404030423.IyBzs9Jd-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/202404030423.IyBzs9Jd-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): In file included from net/packet/af_packet.c:86: >> include/linux/virtio_net.h:15:34: warning: 'rx_eqe_conf' defined but not used [-Wunused-const-variable=] 15 | static const struct dim_cq_moder rx_eqe_conf[] = { | ^~~~~~~~~~~ vim +/rx_eqe_conf +15 include/linux/virtio_net.h 12 13 /* This is copied from NET_DIM_RX_EQE_PROFILES in DIM library */ 14 #define VIRTNET_DIM_RX_PKTS 256 > 15 static const struct dim_cq_moder rx_eqe_conf[] = { 16 {.usec = 1, .pkts = VIRTNET_DIM_RX_PKTS,}, 17 {.usec = 8, .pkts = VIRTNET_DIM_RX_PKTS,}, 18 {.usec = 64, .pkts = VIRTNET_DIM_RX_PKTS,}, 19 {.usec = 128, .pkts = VIRTNET_DIM_RX_PKTS,}, 20 {.usec = 256, .pkts = VIRTNET_DIM_RX_PKTS,} 21 }; 22 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki