summaryrefslogtreecommitdiffstats
path: root/drivers/uio/uio.c
diff options
context:
space:
mode:
authorSouptick Joarder <jrdr.linux@gmail.com>2018-09-01 22:28:50 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-12 09:46:46 +0200
commit79c6f4b84b6ee0117b9c11c8f7a108c327277ceb (patch)
treefa887a6ee96c1f317e94477aad098b718033b924 /drivers/uio/uio.c
parent0952c57c8ff1e4e68de029f64dadd8d82027043b (diff)
downloadlinux-79c6f4b84b6ee0117b9c11c8f7a108c327277ceb.tar.bz2
uio: convert to vm_fault_t
As part of commit 9b85e95a3080 ("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>
Diffstat (limited to 'drivers/uio/uio.c')
-rw-r--r--drivers/uio/uio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c
index 9916edda5271..0ffb324aa038 100644
--- a/drivers/uio/uio.c
+++ b/drivers/uio/uio.c
@@ -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);