From 6e3a1af0fb5e3f2c585b799530a0ea7174e666bf Mon Sep 17 00:00:00 2001 From: Souptick Joarder Date: Sat, 1 Sep 2018 22:28:50 +0530 Subject: [PATCH] uio: convert to vm_fault_t As part of commit 9225c6026c76 ("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 Signed-off-by: Greg Kroah-Hartman --- drivers/uio/uio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index 9916edda52711..0ffb324aa0386 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); -- 2.39.5