mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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 <[email protected]> Reviewed-by: Matthew Wilcox <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
This commit is contained in:
parent
78a6295c71
commit
69589c9bb9
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue