]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - mm/mlock.c
h63xx: nfs mount works, gpe image boots to ts config screen.
[linux-2.6-omap-h63xx.git] / mm / mlock.c
index a6da2aee940af0873f46bd1b88b24a36242979b3..1ada366570cb535e4a281f7d526829c708f320f3 100644 (file)
@@ -162,7 +162,7 @@ static long __mlock_vma_pages_range(struct vm_area_struct *vma,
        unsigned long addr = start;
        struct page *pages[16]; /* 16 gives a reasonable batch */
        int nr_pages = (end - start) / PAGE_SIZE;
-       int ret;
+       int ret = 0;
        int gup_flags = 0;
 
        VM_BUG_ON(start & ~PAGE_MASK);