Re: [PATCH] mm: mmap: fix documentation for vma_mas_szero

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14.11.22 01:33, Ian Cowan wrote:
When the struct_mm input, mm, was changed to a struct ma_state, mas, the
documentation for the function was never updated. This updates that
documentation reference.

Signed-off-by: Ian Cowan <ian@xxxxxxxxxxxxxxxx>
---
  mm/mmap.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/mmap.c b/mm/mmap.c
index bf2122af94e7..7ffd562c57a0 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -456,7 +456,7 @@ void vma_mas_remove(struct vm_area_struct *vma, struct ma_state *mas)
   * vma_mas_szero() - Set a given range to zero.  Used when modifying a
   * vm_area_struct start or end.
   *
- * @mm: The struct_mm
+ * @mas: The maple tree ma_state
   * @start: The start address to zero
   * @end: The end address to zero.
   */

Acked-by: David Hildenbrand <david@xxxxxxxxxx>

--
Thanks,

David / dhildenb





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux