* [PATCH] mm: rmap.c: fix kenrel-doc warning
@ 2023-10-06 11:39 Muzammil
2023-10-06 12:16 ` Matthew Wilcox
2023-10-06 12:17 ` David Hildenbrand
0 siblings, 2 replies; 4+ messages in thread
From: Muzammil @ 2023-10-06 11:39 UTC (permalink / raw)
To: akpm; +Cc: linux-mm, linux-kernel, Muhammad Muzammil
From: Muhammad Muzammil <m.muzzammilashraf@gmail.com>
after running make htmldocs, getting this warning
warning: Function parameter or member 'folio' not described in
'folio_move_anon_rmap'
and this patch resolves this warning
Signed-off-by: Muhammad Muzammil <m.muzzammilashraf@gmail.com>
---
mm/rmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/rmap.c b/mm/rmap.c
index c1f11c9dbe61..0863083b3472 100644
--- a/mm/rmap.c
+++ b/mm/rmap.c
@@ -1129,7 +1129,7 @@ int folio_total_mapcount(struct folio *folio)
/**
* folio_move_anon_rmap - move a folio to our anon_vma
- * @page: The folio to move to our anon_vma
+ * @folio: struct folio - Represents a contiguous set of bytes.
* @vma: The vma the folio belongs to
*
* When a folio belongs exclusively to one process after a COW event,
--
2.27.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] mm: rmap.c: fix kenrel-doc warning
2023-10-06 11:39 [PATCH] mm: rmap.c: fix kenrel-doc warning Muzammil
@ 2023-10-06 12:16 ` Matthew Wilcox
2023-10-06 12:18 ` David Hildenbrand
2023-10-06 12:17 ` David Hildenbrand
1 sibling, 1 reply; 4+ messages in thread
From: Matthew Wilcox @ 2023-10-06 12:16 UTC (permalink / raw)
To: Muzammil; +Cc: akpm, linux-mm, linux-kernel
On Fri, Oct 06, 2023 at 04:39:48PM +0500, Muzammil wrote:
> /**
> * folio_move_anon_rmap - move a folio to our anon_vma
> - * @page: The folio to move to our anon_vma
> + * @folio: struct folio - Represents a contiguous set of bytes.
> * @vma: The vma the folio belongs to
Why did you change more than just 'page' to 'folio'? I think the
other changes you have made to this line are not an improvement.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] mm: rmap.c: fix kenrel-doc warning
2023-10-06 11:39 [PATCH] mm: rmap.c: fix kenrel-doc warning Muzammil
2023-10-06 12:16 ` Matthew Wilcox
@ 2023-10-06 12:17 ` David Hildenbrand
1 sibling, 0 replies; 4+ messages in thread
From: David Hildenbrand @ 2023-10-06 12:17 UTC (permalink / raw)
To: Muzammil, akpm; +Cc: linux-mm, linux-kernel
On 06.10.23 13:39, Muzammil wrote:
> From: Muhammad Muzammil <m.muzzammilashraf@gmail.com>
>
> after running make htmldocs, getting this warning
> warning: Function parameter or member 'folio' not described in
> 'folio_move_anon_rmap'
> and this patch resolves this warning
>
> Signed-off-by: Muhammad Muzammil <m.muzzammilashraf@gmail.com>
> ---
> mm/rmap.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mm/rmap.c b/mm/rmap.c
> index c1f11c9dbe61..0863083b3472 100644
> --- a/mm/rmap.c
> +++ b/mm/rmap.c
> @@ -1129,7 +1129,7 @@ int folio_total_mapcount(struct folio *folio)
>
> /**
> * folio_move_anon_rmap - move a folio to our anon_vma
> - * @page: The folio to move to our anon_vma
> + * @folio: struct folio - Represents a contiguous set of bytes.
> * @vma: The vma the folio belongs to
> *
> * When a folio belongs exclusively to one process after a COW event,
Thanks for taking care of that, I had to handle a family NMI the last
couple of days.
That should be squashed into my commit.
--
Cheers,
David / dhildenb
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] mm: rmap.c: fix kenrel-doc warning
2023-10-06 12:16 ` Matthew Wilcox
@ 2023-10-06 12:18 ` David Hildenbrand
0 siblings, 0 replies; 4+ messages in thread
From: David Hildenbrand @ 2023-10-06 12:18 UTC (permalink / raw)
To: Matthew Wilcox, Muzammil; +Cc: akpm, linux-mm, linux-kernel
On 06.10.23 14:16, Matthew Wilcox wrote:
> On Fri, Oct 06, 2023 at 04:39:48PM +0500, Muzammil wrote:
>> /**
>> * folio_move_anon_rmap - move a folio to our anon_vma
>> - * @page: The folio to move to our anon_vma
>> + * @folio: struct folio - Represents a contiguous set of bytes.
>> * @vma: The vma the folio belongs to
>
> Why did you change more than just 'page' to 'folio'? I think the
> other changes you have made to this line are not an improvement.
Oh, I missed that. indeed, just s/page/folio/ is sufficient.
--
Cheers,
David / dhildenb
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-10-06 12:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-06 11:39 [PATCH] mm: rmap.c: fix kenrel-doc warning Muzammil
2023-10-06 12:16 ` Matthew Wilcox
2023-10-06 12:18 ` David Hildenbrand
2023-10-06 12:17 ` David Hildenbrand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox