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/virtio_net-passing-control_buf-explicitly/20240620-002212 base: net-next/main patch link: https://lore.kernel.org/r/20240619161908.82348-6-hengqi%40linux.alibaba.com patch subject: [PATCH net-next v4 5/5] virtio_net: improve dim command request efficiency config: x86_64-rhel-8.3 (https://download.01.org/0day-ci/archive/20240620/202406201437.JuUEpbZL-lkp@xxxxxxxxx/config) compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240620/202406201437.JuUEpbZL-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/202406201437.JuUEpbZL-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): drivers/net/virtio_net.c: In function 'virtnet_wait_command_response': >> drivers/net/virtio_net.c:2771:22: warning: unused variable 'tmp' [-Wunused-variable] 2771 | unsigned int tmp; | ^~~ vim +/tmp +2771 drivers/net/virtio_net.c 2bef89a476bb44 Heng Qi 2024-06-20 2767 2bef89a476bb44 Heng Qi 2024-06-20 2768 static bool virtnet_wait_command_response(struct virtnet_info *vi, 2bef89a476bb44 Heng Qi 2024-06-20 2769 struct control_buf *ctrl) 2bef89a476bb44 Heng Qi 2024-06-20 2770 { 2bef89a476bb44 Heng Qi 2024-06-20 @2771 unsigned int tmp; 2bef89a476bb44 Heng Qi 2024-06-20 2772 bool ok; 40cbfc37075a2a Amos Kong 2013-01-21 2773 ff0de8d3002c75 Heng Qi 2024-06-20 2774 wait_for_completion(&ctrl->completion); 40cbfc37075a2a Amos Kong 2013-01-21 2775 74b2bc860d5cb5 Heng Qi 2024-06-20 2776 ok = ctrl->status == VIRTIO_NET_OK; 30636258a7c917 Heng Qi 2024-05-30 2777 return ok; 40cbfc37075a2a Amos Kong 2013-01-21 2778 } 40cbfc37075a2a Amos Kong 2013-01-21 2779 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki