Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0bced2f7 authored by Wei Yongjun's avatar Wei Yongjun Committed by Alex Williamson
Browse files

vfio: make local function vfio_pci_intx_unmask_handler() static



vfio_pci_intx_unmask_handler() was not declared. It should be static.

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent dad9f897
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -286,7 +286,8 @@ void vfio_pci_intx_mask(struct vfio_pci_device *vdev)
 * a signal is necessary, which can then be handled via a work queue
 * or directly depending on the caller.
 */
int vfio_pci_intx_unmask_handler(struct vfio_pci_device *vdev, void *unused)
static int vfio_pci_intx_unmask_handler(struct vfio_pci_device *vdev,
					void *unused)
{
	struct pci_dev *pdev = vdev->pdev;
	unsigned long flags;