uio: convert to vm_fault_t

As part of commit 9b85e95a30 ("uio: Change return
type to vm_fault_t") in 4.19-rc1, this conversion
was missed. Now converted 'ret' to vm_fault_t type.

Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Souptick Joarder 2018-09-01 22:28:50 +05:30 committed by Greg Kroah-Hartman
parent 0952c57c8f
commit 79c6f4b84b

View File

@ -670,7 +670,7 @@ static vm_fault_t uio_vma_fault(struct vm_fault *vmf)
struct page *page;
unsigned long offset;
void *addr;
int ret = 0;
vm_fault_t ret = 0;
int mi;
mutex_lock(&idev->info_lock);