From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [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'
Date: Thu, 01 Jul 2021 20:02:59 +0800 [thread overview]
Message-ID: <202107012051.tRvSAebA-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2021-07-01 12:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202107012051.tRvSAebA-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.