summaryrefslogtreecommitdiff
path: root/drivers/target
diff options
context:
space:
mode:
authorSouptick Joarder <jrdr.linux@gmail.com>2018-04-14 21:55:57 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2018-04-19 07:49:37 +0300
commit69589c9bb9c24499ace5158e236bed5906009efa (patch)
tree92f2a6089ca928df5a863470ccd69767c9d704da /drivers/target
parent78a6295c71cb276f8ab0bfc786f3543a4e756a8f (diff)
downloadlinux-69589c9bb9c24499ace5158e236bed5906009efa.tar.xz
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 <jrdr.linux@gmail.com> Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target')
-rw-r--r--drivers/target/target_core_user.c2
1 files changed, 1 insertions, 1 deletions
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;