]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
mm/mmap: Fix find_vma_prev() comments
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 29 Jan 2021 14:51:20 +0000 (09:51 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 29 Jan 2021 14:51:20 +0000 (09:51 -0500)
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
mm/mmap.c

index f508999fc198fb1142194a844ab8199a010da17b..47319d6c5bcc76eb606783b55d854e060d04ccba 100644 (file)
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -1790,13 +1790,13 @@ EXPORT_SYMBOL(find_vma);
 
 /**
  * find_vma_prev() - Find the VMA for a given address, or the next vma and
- * sets %pprev to the previous VMA, if any.
- * @mm The mm_struct to check
+ * set %pprev to the previous VMA, if any.
+ * @mm: The mm_struct to check
  * @addr: The address
  * @pprev: The pointer to set to the previous VMA
  *
  * Returns: The VMA associated with @addr, or the next vma.
- * May return NULL in the case of no vma at addr or above.
+ * May return %NULL in the case of no vma at addr or above.
  */
 struct vm_area_struct *
 find_vma_prev(struct mm_struct *mm, unsigned long addr,