Re: [PATCH 1/2] virtio: abstract virtqueue related methods

kernel test robot
2023-05-13T17:22:25Z

Hi zhenwei,

kernel test robot noticed the following build warnings:

[auto build test WARNING on mst-vhost/linux-next]
[also build test WARNING on linus/master v6.4-rc1 next-20230512]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/zhenwei-pi/virtio-abstract-virtqueue-related-methods/20230512-174928
base: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git linux-next
patch link: https://lore.kernel.org/r/20230512094618.433707-2-pizhenwei%40bytedance.com
patch subject: [PATCH 1/2] virtio: abstract virtqueue related methods
reproduce:
# https://github.com/intel-lab-lkp/linux/commit/372bc1a0371968752fe0f5ec6e81edee6f9c44dd
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review zhenwei-pi/virtio-abstract-virtqueue-related-methods/20230512-174928
git checkout 372bc1a0371968752fe0f5ec6e81edee6f9c44dd
make menuconfig
# enable CONFIG_COMPILE_TEST, CONFIG_WARN_MISSING_DOCUMENTS, CONFIG_WARN_ABI_ERRORS
make htmldocs

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202305140142.c0QQq9wZ-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> ./drivers/virtio/virtio_ring.c:1: warning: 'virtqueue_add_inbuf' not found
>> ./drivers/virtio/virtio_ring.c:1: warning: 'virtqueue_add_outbuf' not found
>> ./drivers/virtio/virtio_ring.c:1: warning: 'virtqueue_add_sgs' not found
>> ./drivers/virtio/virtio_ring.c:1: warning: 'virtqueue_get_buf_ctx' not found
>> ./drivers/virtio/virtio_ring.c:1: warning: 'virtqueue_disable_cb' not found
>> ./drivers/virtio/virtio_ring.c:1: warning: 'virtqueue_enable_cb' not found

vim +/virtqueue_add_inbuf +1 ./drivers/virtio/virtio_ring.c

fd534e9b5fdcf9 Thomas Gleixner 2019-05-23 @1 // SPDX-License-Identifier: GPL-2.0-or-later
0a8a69dd77ddbd Rusty Russell 2007-10-22 2 /* Virtio ring implementation.
0a8a69dd77ddbd Rusty Russell 2007-10-22 3 *
0a8a69dd77ddbd Rusty Russell 2007-10-22 4 * Copyright 2007 Rusty Russell IBM Corporation
0a8a69dd77ddbd Rusty Russell 2007-10-22 5 */
0a8a69dd77ddbd Rusty Russell 2007-10-22 6 #include <linux/virtio.h>
0a8a69dd77ddbd Rusty Russell 2007-10-22 7 #include <linux/virtio_ring.h>
e34f87256794b8 Rusty Russell 2008-07-25 8 #include <linux/virtio_config.h>
0a8a69dd77ddbd Rusty Russell 2007-10-22 9 #include <linux/device.h>
5a0e3ad6af8660 Tejun Heo 2010-03-24 10 #include <linux/slab.h>
b5a2c4f1996d1d Paul Gortmaker 2011-07-03 11 #include <linux/module.h>
e93300b1afc7cd Rusty Russell 2012-01-12 12 #include <linux/hrtimer.h>
780bc7903a32ed Andy Lutomirski 2016-02-02 13 #include <linux/dma-mapping.h>
88938359e2dfe1 Alexander Potapenko 2022-09-15 14 #include <linux/kmsan.h>
f8ce72632fa7ed Michael S. Tsirkin 2021-08-10 15 #include <linux/spinlock.h>
78fe39872378b0 Andy Lutomirski 2016-02-02 16 #include <xen/xen.h>
0a8a69dd77ddbd Rusty Russell 2007-10-22 17

--
0-DAY CI Kernel Test Service