]> git.baikalelectronics.ru Git - kernel.git/commitdiff
uio: convert to vm_fault_t
authorSouptick Joarder <jrdr.linux@gmail.com>
Sat, 1 Sep 2018 16:58:50 +0000 (22:28 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Sep 2018 07:46:46 +0000 (09:46 +0200)
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 <jrdr.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/uio.c

index 9916edda52711beb4c9756d24f3e72ca10e35f1d..0ffb324aa0386812fbb82e1806fbbeac24087d63 100644 (file)
@@ -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);