* [jgunthorpe:vfio_v5.18 16/25] drivers/vfio/pci/vfio_pci_zdev.c:112:5: warning: no previous prototype for 'vfio_pci_info_zdev_add_caps'
@ 2022-03-31 8:54 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-03-31 8:54 UTC (permalink / raw)
To: Jason Gunthorpe; +Cc: kbuild-all, linux-kernel
tree: https://github.com/jgunthorpe/linux vfio_v5.18
head: 2af6f07c2b38e8b37c41347ff9bd2b2e8b32a8d6
commit: cbf96a0bc2aeb156e3bedee832c2c336953d8df2 [16/25] vfio/pci: Split linux/vfio_pci_core.h
config: s390-defconfig (https://download.01.org/0day-ci/archive/20220331/202203311635.aqHHbSIK-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 11.2.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/jgunthorpe/linux/commit/cbf96a0bc2aeb156e3bedee832c2c336953d8df2
git remote add jgunthorpe https://github.com/jgunthorpe/linux
git fetch --no-tags jgunthorpe vfio_v5.18
git checkout cbf96a0bc2aeb156e3bedee832c2c336953d8df2
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=s390 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 warnings (new ones prefixed by >>):
>> drivers/vfio/pci/vfio_pci_zdev.c:112:5: warning: no previous prototype for 'vfio_pci_info_zdev_add_caps' [-Wmissing-prototypes]
112 | int vfio_pci_info_zdev_add_caps(struct vfio_pci_core_device *vdev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/vfio_pci_info_zdev_add_caps +112 drivers/vfio/pci/vfio_pci_zdev.c
e6b817d4b8217a9 Matthew Rosato 2020-10-07 108
e6b817d4b8217a9 Matthew Rosato 2020-10-07 109 /*
e6b817d4b8217a9 Matthew Rosato 2020-10-07 110 * Add all supported capabilities to the VFIO_DEVICE_GET_INFO capability chain.
e6b817d4b8217a9 Matthew Rosato 2020-10-07 111 */
536475109c82841 Max Gurtovoy 2021-08-26 @112 int vfio_pci_info_zdev_add_caps(struct vfio_pci_core_device *vdev,
:::::: The code at line 112 was first introduced by commit
:::::: 536475109c82841126ca341ef0f138e7298880c1 vfio/pci: Rename vfio_pci_device to vfio_pci_core_device
:::::: TO: Max Gurtovoy <mgurtovoy@nvidia.com>
:::::: CC: Alex Williamson <alex.williamson@redhat.com>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-31 8:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-31 8:54 [jgunthorpe:vfio_v5.18 16/25] drivers/vfio/pci/vfio_pci_zdev.c:112:5: warning: no previous prototype for 'vfio_pci_info_zdev_add_caps' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®