vfio: Make vfio_unpin_pages() return void
[sfrench/cifs-2.6.git] / include / linux / vfio.h
index 19cefbaa3d06a056288b3fd7d08ff9df8a72ac93..9f7d74c24925af1fc984b5eb2da57936523a0b9e 100644 (file)
@@ -163,8 +163,8 @@ bool vfio_file_has_dev(struct file *file, struct vfio_device *device);
 
 int vfio_pin_pages(struct vfio_device *device, unsigned long *user_pfn,
                   int npage, int prot, unsigned long *phys_pfn);
-int vfio_unpin_pages(struct vfio_device *device, unsigned long *user_pfn,
-                    int npage);
+void vfio_unpin_pages(struct vfio_device *device, unsigned long *user_pfn,
+                     int npage);
 int vfio_dma_rw(struct vfio_device *device, dma_addr_t user_iova,
                void *data, size_t len, bool write);