[linux-next:master 9106/9550] drivers/vfio/pci/virtio/main.c:550:6: warning: no previous prototype for function 'virtiovf_pci_aer_reset_done'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   20d857259d7d10cd0d5e8b60608455986167cfad
commit: eb61eca0e8c3efbdd6d3c9d2b7f70bf67e165f7d [9106/9550] vfio/virtio: Introduce a vfio driver over virtio devices
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20231220/202312202346.wk6hRusj-lkp@xxxxxxxxx/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231220/202312202346.wk6hRusj-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312202346.wk6hRusj-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/vfio/pci/virtio/main.c:550:6: warning: no previous prototype for function 'virtiovf_pci_aer_reset_done' [-Wmissing-prototypes]
   void virtiovf_pci_aer_reset_done(struct pci_dev *pdev)
        ^
   drivers/vfio/pci/virtio/main.c:550:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void virtiovf_pci_aer_reset_done(struct pci_dev *pdev)
   ^
   static 
   1 warning generated.


vim +/virtiovf_pci_aer_reset_done +550 drivers/vfio/pci/virtio/main.c

   549	
 > 550	void virtiovf_pci_aer_reset_done(struct pci_dev *pdev)
   551	{
   552		struct virtiovf_pci_core_device *virtvdev = dev_get_drvdata(&pdev->dev);
   553	
   554		virtvdev->pci_cmd = 0;
   555	}
   556	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux