From: Souptick Joarder Date: Sat, 14 Apr 2018 18:47:41 +0000 (+0530) Subject: scsi: sg: Change return type to vm_fault_t X-Git-Tag: v4.19~824^2~196 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0cac8e1bba60d785d53350ab44856d9b1c4f1648;p=platform%2Fkernel%2Flinux-rpi.git scsi: sg: 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 Acked-by: Douglas Gilbert Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c index c198b963..c2b7d34 100644 --- a/drivers/scsi/sg.c +++ b/drivers/scsi/sg.c @@ -1192,7 +1192,7 @@ sg_fasync(int fd, struct file *filp, int mode) return fasync_helper(fd, filp, mode, &sfp->async_qp); } -static int +static vm_fault_t sg_vma_fault(struct vm_fault *vmf) { struct vm_area_struct *vma = vmf->vma;