Skip to contentSkip to conversation

mm-gupc-fix-the-comment-of-return-value-for-populate_vma_page_range.patch removed from -mm tree

merged [email protected] 1 participant 1 message Aug 10, 2020

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm/gup.c: fix the comment of return value for populate_vma_page_range()
has been removed from the -mm tree. Its filename was
mm-gupc-fix-the-comment-of-return-value-for-populate_vma_page_range.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Tang Yizhou <[email protected]>
Subject: mm/gup.c: fix the comment of return value for populate_vma_page_range()

The return value of populate_vma_page_range() is consistent with __get_user_pages(), and so is the function comment of return value.

---

 mm/gup.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
mm/gup.c renamed from mm/gup.c~mm-gupc-fix-the-comment-of-return-value-for-populate_vma_page_range +2 -1
@@ -1404,7 +1404,8 @@ retry:
  *
  * This takes care of mlocking the pages too if VM_LOCKED is set.
  *
- * return 0 on success, negative error code on error.
+ * Return either number of pages pinned in the vma, or a negative error
+ * code on error.
  *
  * vma->vm_mm->mmap_lock must be held.
  *

_

Patches currently in -mm which might be from [email protected] are