* [jgunthorpe:vfio_reflck_cleanup 11/12] drivers/vfio/pci/vfio_pci.c:1860:3: error: field designator 'open' does not refer to any field in type 'const struct vfio_device_ops'
@ 2021-07-01 12:02 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-01 12:02 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3135 bytes --]
tree: https://github.com/jgunthorpe/linux vfio_reflck_cleanup
head: f4e0a740bed3d566fe5cbe71f10a4a32b5c0b2e6
commit: a3f3cacf0d8f55ae0250d5fcffe0c9b83f10a5d1 [11/12] vfio: Remove struct vfio_device_ops open/release
config: x86_64-randconfig-a012-20210630 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project e7e71e9454ed76c1b3d8140170b5333c28bef1be)
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/jgunthorpe/linux/commit/a3f3cacf0d8f55ae0250d5fcffe0c9b83f10a5d1
git remote add jgunthorpe https://github.com/jgunthorpe/linux
git fetch --no-tags jgunthorpe vfio_reflck_cleanup
git checkout a3f3cacf0d8f55ae0250d5fcffe0c9b83f10a5d1
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/vfio/pci/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/vfio/pci/vfio_pci.c:1860:3: error: field designator 'open' does not refer to any field in type 'const struct vfio_device_ops'
.open = vfio_pci_open,
^
>> drivers/vfio/pci/vfio_pci.c:1861:3: error: field designator 'release' does not refer to any field in type 'const struct vfio_device_ops'
.release = vfio_pci_release,
^
2 errors generated.
vim +1860 drivers/vfio/pci/vfio_pci.c
467c084f9ad393 Alex Williamson 2020-03-24 1857
89e1f7d4c66d85 Alex Williamson 2012-07-31 1858 static const struct vfio_device_ops vfio_pci_ops = {
89e1f7d4c66d85 Alex Williamson 2012-07-31 1859 .name = "vfio-pci",
89e1f7d4c66d85 Alex Williamson 2012-07-31 @1860 .open = vfio_pci_open,
89e1f7d4c66d85 Alex Williamson 2012-07-31 @1861 .release = vfio_pci_release,
89e1f7d4c66d85 Alex Williamson 2012-07-31 1862 .ioctl = vfio_pci_ioctl,
89e1f7d4c66d85 Alex Williamson 2012-07-31 1863 .read = vfio_pci_read,
89e1f7d4c66d85 Alex Williamson 2012-07-31 1864 .write = vfio_pci_write,
89e1f7d4c66d85 Alex Williamson 2012-07-31 1865 .mmap = vfio_pci_mmap,
6140a8f5623820 Alex Williamson 2015-02-06 1866 .request = vfio_pci_request,
467c084f9ad393 Alex Williamson 2020-03-24 1867 .match = vfio_pci_match,
89e1f7d4c66d85 Alex Williamson 2012-07-31 1868 };
89e1f7d4c66d85 Alex Williamson 2012-07-31 1869
:::::: The code at line 1860 was first introduced by commit
:::::: 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 vfio: Add PCI device driver
:::::: TO: Alex Williamson <alex.williamson@redhat.com>
:::::: CC: Alex Williamson <alex.williamson@redhat.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 38417 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-01 12:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-01 12:02 [jgunthorpe:vfio_reflck_cleanup 11/12] drivers/vfio/pci/vfio_pci.c:1860:3: error: field designator 'open' does not refer to any field in type 'const struct vfio_device_ops' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.