* [PATCH] mm: fix compiler warning with make W=1
@ 2022-11-08 5:16 Charan Teja Kalla
2022-11-08 6:17 ` Pavan Kondeti
2022-11-08 12:47 ` Vlastimil Babka
0 siblings, 2 replies; 3+ messages in thread
From: Charan Teja Kalla @ 2022-11-08 5:16 UTC (permalink / raw)
To: akpm, linux-mm; +Cc: linux-kernel, vbabka, Charan Teja Kalla
Fix the below compiler warnings reported with 'make W=1 mm/'.
mm/page_ext.c:178: warning: Function parameter or member 'page_ext' not
described in 'page_ext_put'.
Reported-by: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Charan Teja Kalla <quic_charante@quicinc.com>
---
mm/page_ext.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/page_ext.c b/mm/page_ext.c
index affe8024..ddf1968 100644
--- a/mm/page_ext.c
+++ b/mm/page_ext.c
@@ -166,7 +166,7 @@ struct page_ext *page_ext_get(struct page *page)
/**
* page_ext_put() - Working with page extended information is done.
- * @page_ext - Page extended information received from page_ext_get().
+ * @page_ext: Page extended information received from page_ext_get().
*
* The page extended information of the page may not be valid after this
* function is called.
--
2.7.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mm: fix compiler warning with make W=1
2022-11-08 5:16 [PATCH] mm: fix compiler warning with make W=1 Charan Teja Kalla
@ 2022-11-08 6:17 ` Pavan Kondeti
2022-11-08 12:47 ` Vlastimil Babka
1 sibling, 0 replies; 3+ messages in thread
From: Pavan Kondeti @ 2022-11-08 6:17 UTC (permalink / raw)
To: Charan Teja Kalla; +Cc: akpm, linux-mm, linux-kernel, vbabka
Hi Charan,
On Tue, Nov 08, 2022 at 10:46:22AM +0530, Charan Teja Kalla wrote:
> Fix the below compiler warnings reported with 'make W=1 mm/'.
> mm/page_ext.c:178: warning: Function parameter or member 'page_ext' not
> described in 'page_ext_put'.
>
> Reported-by: Vlastimil Babka <vbabka@suse.cz>
> Signed-off-by: Charan Teja Kalla <quic_charante@quicinc.com>
> ---
> mm/page_ext.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mm/page_ext.c b/mm/page_ext.c
> index affe8024..ddf1968 100644
> --- a/mm/page_ext.c
> +++ b/mm/page_ext.c
> @@ -166,7 +166,7 @@ struct page_ext *page_ext_get(struct page *page)
>
> /**
> * page_ext_put() - Working with page extended information is done.
> - * @page_ext - Page extended information received from page_ext_get().
> + * @page_ext: Page extended information received from page_ext_get().
> *
> * The page extended information of the page may not be valid after this
> * function is called.
>
Looks good to me. Your patch fixes the warning emitted earlier by
./scripts/kernel-doc -none mm/page_ext.c
mm/page_ext.c:178: warning: Function parameter or member 'page_ext' not described in 'page_ext_put'
one nit comment on the changelog summary
mm: fix compiler warning with make W=1
Can you make it more specific like "mm/page_exit: fix kernel doc warning in page_ext_put()"
Thanks,
Pavan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mm: fix compiler warning with make W=1
2022-11-08 5:16 [PATCH] mm: fix compiler warning with make W=1 Charan Teja Kalla
2022-11-08 6:17 ` Pavan Kondeti
@ 2022-11-08 12:47 ` Vlastimil Babka
1 sibling, 0 replies; 3+ messages in thread
From: Vlastimil Babka @ 2022-11-08 12:47 UTC (permalink / raw)
To: Charan Teja Kalla, akpm, linux-mm; +Cc: linux-kernel
On 11/8/22 06:16, Charan Teja Kalla wrote:
> Fix the below compiler warnings reported with 'make W=1 mm/'.
> mm/page_ext.c:178: warning: Function parameter or member 'page_ext' not
> described in 'page_ext_put'.
>
> Reported-by: Vlastimil Babka <vbabka@suse.cz>
Reported-and-tested-by: Vlastimil Babka <vbabka@suse.cz>
> Signed-off-by: Charan Teja Kalla <quic_charante@quicinc.com>
Thanks!
> ---
> mm/page_ext.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mm/page_ext.c b/mm/page_ext.c
> index affe8024..ddf1968 100644
> --- a/mm/page_ext.c
> +++ b/mm/page_ext.c
> @@ -166,7 +166,7 @@ struct page_ext *page_ext_get(struct page *page)
>
> /**
> * page_ext_put() - Working with page extended information is done.
> - * @page_ext - Page extended information received from page_ext_get().
> + * @page_ext: Page extended information received from page_ext_get().
> *
> * The page extended information of the page may not be valid after this
> * function is called.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-11-08 12:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-08 5:16 [PATCH] mm: fix compiler warning with make W=1 Charan Teja Kalla
2022-11-08 6:17 ` Pavan Kondeti
2022-11-08 12:47 ` Vlastimil Babka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox