From: Souptick Joarder Date: Sat, 14 Apr 2018 18:55:57 +0000 (+0530) Subject: scsi: target: Change return type to vm_fault_t X-Git-Tag: Ubuntu-5.10.0-12.13~7655^2~189 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=69589c9bb9c24499ace5158e236bed5906009efa;p=mirror_ubuntu-hirsute-kernel.git scsi: target: Change return type to vm_fault_t Use new return type vm_fault_t for fault handler in struct vm_operations_struct. Signed-off-by: Souptick Joarder Reviewed-by: Matthew Wilcox Signed-off-by: Martin K. Petersen --- diff --git a/drivers/target/target_core_user.c b/drivers/target/target_core_user.c index 4ad89ea71a70..d6af29250d94 100644 --- a/drivers/target/target_core_user.c +++ b/drivers/target/target_core_user.c @@ -1382,7 +1382,7 @@ static struct page *tcmu_try_get_block_page(struct tcmu_dev *udev, uint32_t dbi) return page; } -static int tcmu_vma_fault(struct vm_fault *vmf) +static vm_fault_t tcmu_vma_fault(struct vm_fault *vmf) { struct tcmu_dev *udev = vmf->vma->vm_private_data; struct uio_info *info = &udev->uio_info;