Skip to content

Commit

Permalink
uio: convert to vm_fault_t
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Souptick Joarder authored and gregkh committed Sep 12, 2018
1 parent 0952c57 commit 79c6f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/uio/uio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 79c6f4b

Please sign in to comment.