Skip to contentSkip to conversation

mm: mmap: fix documentation for vma_mas_szero

PATCH Applied Ian Cowan 2 participants 2 messages Nov 14, 2022

Subsystems (2)
lore
Share & tools
lore

Ian Cowan

author
#0 lore raw

PATCH 1/1 mm: mmap: fix documentation for vma_mas_szero

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.

---
 mm/mmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/mmap.c +1 -1
index bf2122af94e7..7ffd562c57a0 100644
@@ -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.
  */
Signature · 1 line
2.38.1
Acked-by on v1 1/1
#1 lore raw
Quoted 14 lines · Ian Cowan

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.

---
  mm/mmap.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
mm/mmap.c +0 -0
index bf2122af94e7..7ffd562c57a0 100644

mm/mmap.c void vma_mas_remove(struct vm_area_struct *vma, struct ma_state *mas) · line 462

Quoted 8 lines
mm/mmap.c +1 -1
@@ -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.
   */
Signature · 3 lines
Thanks,

David / dhildenb