* [PATCH] mm: mmap: fix documentation for vma_mas_szero
@ 2022-11-14 0:33 Ian Cowan
2022-11-14 16:41 ` David Hildenbrand
0 siblings, 1 reply; 2+ messages in thread
From: Ian Cowan @ 2022-11-14 0:33 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-mm, linux-kernel, 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.
Signed-off-by: Ian Cowan <ian@linux.cowan.aero>
---
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.
*/
--
2.38.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] mm: mmap: fix documentation for vma_mas_szero
2022-11-14 0:33 [PATCH] mm: mmap: fix documentation for vma_mas_szero Ian Cowan
@ 2022-11-14 16:41 ` David Hildenbrand
0 siblings, 0 replies; 2+ messages in thread
From: David Hildenbrand @ 2022-11-14 16:41 UTC (permalink / raw)
To: Ian Cowan, Andrew Morton; +Cc: linux-mm, linux-kernel
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@linux.cowan.aero>
> ---
> 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@redhat.com>
--
Thanks,
David / dhildenb
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-14 16:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-14 0:33 [PATCH] mm: mmap: fix documentation for vma_mas_szero Ian Cowan
2022-11-14 16:41 ` David Hildenbrand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®