tree:
https://github.com/0day-ci/linux/commits/UPDATE-20210413-061144/Emil-Renn...
head: 605f1ff4679b8c43aabb447cdca20cbe9c39542b
commit: 605f1ff4679b8c43aabb447cdca20cbe9c39542b virtio-net: suppress bad irq warning for
tx napi
date: 7 hours ago
config: x86_64-randconfig-a014-20210413 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
9829f5e6b1bca9b61efc629770d28bb9014dec45)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
#
https://github.com/0day-ci/linux/commit/605f1ff4679b8c43aabb447cdca20cbe9...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
UPDATE-20210413-061144/Emil-Renner-Berthing/drivers-net-update-tasklet_init-callers/20210131-080932
git checkout 605f1ff4679b8c43aabb447cdca20cbe9c39542b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/net/virtio_net.c:1437:24: error: use of undeclared
identifier 'vq'
virtqueue_disable_cb(vq);
^
1 error generated.
vim +/vq +1437 drivers/net/virtio_net.c
1425
1426 static void virtnet_poll_cleantx(struct receive_queue *rq)
1427 {
1428 struct virtnet_info *vi = rq->vq->vdev->priv;
1429 unsigned int index = vq2rxq(rq->vq);
1430 struct send_queue *sq = &vi->sq[index];
1431 struct netdev_queue *txq = netdev_get_tx_queue(vi->dev, index);
1432
1433 if (!sq->napi.weight || is_xdp_raw_buffer_queue(vi, index))
1434 return;
1435
1436 if (__netif_tx_trylock(txq)) {
1437 virtqueue_disable_cb(vq);
1438 free_old_xmit_skbs(sq, true);
1439 __netif_tx_unlock(txq);
1440 }
1441
1442 if (sq->vq->num_free >= 2 + MAX_SKB_FRAGS)
1443 netif_tx_wake_queue(txq);
1444 }
1445
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org