vfio/virtio: Declare virtiovf_pci_aer_reset_done() static
authorYishai Hadas <yishaih@nvidia.com>
Wed, 20 Dec 2023 08:24:56 +0000 (10:24 +0200)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 20 Dec 2023 15:08:39 +0000 (08:08 -0700)
commitdaca194876a94565194f6e32ddb0355af8cf30f7
treeabdd9f5779488edf4d6f9eced9bf0b35ba678d44
parent0214392d5dd13876852be0dcf7a939fd5aa07da0
vfio/virtio: Declare virtiovf_pci_aer_reset_done() static

Declare virtiovf_pci_aer_reset_done() as a static function to prevent
the below build warning.

"warning: no previous prototype for 'virtiovf_pci_aer_reset_done'
[-Wmissing-prototypes]"

Fixes: eb61eca0e8c3 ("vfio/virtio: Introduce a vfio driver over virtio devices")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/lkml/20231220143122.63337669@canb.auug.org.au/
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Link: https://lore.kernel.org/r/20231220082456.241973-1-yishaih@nvidia.com
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202312202115.oDmvN1VE-lkp@intel.com/
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/virtio/main.c