Hi Lei, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on awilliam-vfio/for-linus] [also build test WARNING on linus/master v6.1-rc8 next-20221206] [cannot apply to awilliam-vfio/next] [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/Lei-Rao/Add-new-VFIO-PCI-driver-for-NVMe-devices/20221206-135959 base: https://github.com/awilliam/linux-vfio.git for-linus patch link: https://lore.kernel.org/r/20221206055816.292304-2-lei.rao%40intel.com patch subject: [RFC PATCH 1/5] nvme-pci: add function nvme_submit_vf_cmd to issue admin commands for VF driver. config: ia64-allyesconfig compiler: ia64-linux-gcc (GCC) 12.1.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/intel-lab-lkp/linux/commit/d2d8886a23a91021f6ae8e6df99e9398376b9de2 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Lei-Rao/Add-new-VFIO-PCI-driver-for-NVMe-devices/20221206-135959 git checkout d2d8886a23a91021f6ae8e6df99e9398376b9de2 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/nvme/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/nvme/host/pci.c:3584:5: warning: no previous prototype for 'nvme_submit_vf_cmd' [-Wmissing-prototypes] 3584 | int nvme_submit_vf_cmd(struct pci_dev *dev, struct nvme_command *cmd, | ^~~~~~~~~~~~~~~~~~ vim +/nvme_submit_vf_cmd +3584 drivers/nvme/host/pci.c 3583 > 3584 int nvme_submit_vf_cmd(struct pci_dev *dev, struct nvme_command *cmd, 3585 size_t *result, void *buffer, unsigned int bufflen) 3586 { 3587 struct nvme_dev *ndev = NULL; 3588 union nvme_result res = { }; 3589 int ret; 3590 3591 ndev = pci_iov_get_pf_drvdata(dev, &nvme_driver); 3592 if (IS_ERR(ndev)) 3593 return PTR_ERR(ndev); 3594 ret = __nvme_submit_sync_cmd(ndev->ctrl.admin_q, cmd, &res, buffer, bufflen, 3595 NVME_QID_ANY, 0, 0); 3596 if (ret >= 0 && result) 3597 *result = le32_to_cpu(res.u32); 3598 return ret; 3599 } 3600 EXPORT_SYMBOL_GPL(nvme_submit_vf_cmd); 3601 -- 0-DAY CI Kernel Test Service https://01.org/lkp