linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 9106/9550] drivers/vfio/pci/virtio/main.c:550:6: warning: no previous prototype for function 'virtiovf_pci_aer_reset_done'
@ 2023-12-20 15:56 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-20 15:56 UTC (permalink / raw)
  To: Yishai Hadas
  Cc: llvm, oe-kbuild-all, Linux Memory Management List,
	Alex Williamson, Jason Gunthorpe, Kevin Tian

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@intel.com/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@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312202346.wk6hRusj-lkp@intel.com/

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-20 15:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-20 15:56 [linux-next:master 9106/9550] drivers/vfio/pci/virtio/main.c:550:6: warning: no previous prototype for function 'virtiovf_pci_aer_reset_done' 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;
as well as URLs for NNTP newsgroup(s).