Skip to content

Commit 79c6f4b

Browse files
Souptick Joardergregkh
authored andcommitted
uio: convert to vm_fault_t
As part of commit 9b85e95 ("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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 0952c57 commit 79c6f4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/uio/uio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ static vm_fault_t uio_vma_fault(struct vm_fault *vmf)
670670
struct page *page;
671671
unsigned long offset;
672672
void *addr;
673-
int ret = 0;
673+
vm_fault_t ret = 0;
674674
int mi;
675675

676676
mutex_lock(&idev->info_lock);

0 commit comments

Comments
 (0)