forked from Minki/linux
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:
parent
0952c57c8f
commit
79c6f4b84b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user