Hi Xie,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on vhost/linux-next]
[also build test ERROR on iommu/next uml/linux-next s390/features linus/master v5.14-rc1
next-20210714]
[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]
url:
https://github.com/0day-ci/linux/commits/Xie-Yongji/Introduce-VDUSE-vDPA-...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git linux-next
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
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
#
https://github.com/0day-ci/linux/commit/ade2af66f29301fe5d897bfddfabc27f5...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Xie-Yongji/Introduce-VDUSE-vDPA-Device-in-Userspace/20210713-165009
git checkout ade2af66f29301fe5d897bfddfabc27f5f5cd678
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
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/virtio/virtio_mmio.c:537:12: error: initialization of
'int (*)(struct virtio_device *)' from incompatible pointer type 'void
(*)(struct virtio_device *)' [-Werror=incompatible-pointer-types]
537 |
.reset = vm_reset,
| ^~~~~~~~
drivers/virtio/virtio_mmio.c:537:12: note: (near initialization for
'virtio_mmio_config_ops.reset')
cc1: some warnings being treated as errors
vim +537 drivers/virtio/virtio_mmio.c
38e895487afc2e Sebastien Boeuf 2020-08-19 530
9350393239153c Stephen Hemminger 2013-02-10 531 static const struct virtio_config_ops
virtio_mmio_config_ops = {
edfd52e6367270 Pawel Moll 2011-10-24 532 .get = vm_get,
edfd52e6367270 Pawel Moll 2011-10-24 533 .set = vm_set,
87e7bf1450c9f6 Michael S. Tsirkin 2015-03-12 534 .generation = vm_generation,
edfd52e6367270 Pawel Moll 2011-10-24 535 .get_status = vm_get_status,
edfd52e6367270 Pawel Moll 2011-10-24 536 .set_status = vm_set_status,
edfd52e6367270 Pawel Moll 2011-10-24 @537 .reset = vm_reset,
edfd52e6367270 Pawel Moll 2011-10-24 538 .find_vqs = vm_find_vqs,
edfd52e6367270 Pawel Moll 2011-10-24 539 .del_vqs = vm_del_vqs,
edfd52e6367270 Pawel Moll 2011-10-24 540 .get_features = vm_get_features,
edfd52e6367270 Pawel Moll 2011-10-24 541 .finalize_features =
vm_finalize_features,
66846048f55c6c Rick Jones 2011-11-14 542 .bus_name = vm_bus_name,
38e895487afc2e Sebastien Boeuf 2020-08-19 543 .get_shm_region = vm_get_shm_region,
edfd52e6367270 Pawel Moll 2011-10-24 544 };
edfd52e6367270 Pawel Moll 2011-10-24 545
edfd52e6367270 Pawel Moll 2011-10-24 546
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org