All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] mm/mlock: Fix argument list that the kdoc format and script verified.
@ 2022-02-24  6:27 Yang Li
  2022-02-24 21:55 ` Matthew Wilcox
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2022-02-24  6:27 UTC (permalink / raw)
  To: akpm, linux-mm; +Cc: linux-kernel, Yang Li, Abaci Robot

The warnings were found by running scripts/kernel-doc, which is
caused by using 'make W=1'.

mm/mlock.c:225: warning: Function parameter or member 'folio' not
described in 'mlock_folio'
mm/mlock.c:225: warning: Excess function parameter 'page' description in
'mlock_folio'

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 mm/mlock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/mlock.c b/mm/mlock.c
index e8e4274480bf..d6294042698a 100644
--- a/mm/mlock.c
+++ b/mm/mlock.c
@@ -219,7 +219,7 @@ bool need_mlock_page_drain(int cpu)
 
 /**
  * mlock_folio - mlock a folio already on (or temporarily off) LRU
- * @page: folio to be mlocked.
+ * @folio: The folio we're currently operating on.
  */
 void mlock_folio(struct folio *folio)
 {
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] mm/mlock: Fix argument list that the kdoc format and script verified.
  2022-02-24  6:27 [PATCH -next] mm/mlock: Fix argument list that the kdoc format and script verified Yang Li
@ 2022-02-24 21:55 ` Matthew Wilcox
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Wilcox @ 2022-02-24 21:55 UTC (permalink / raw)
  To: Yang Li; +Cc: akpm, linux-mm, linux-kernel, Abaci Robot

On Thu, Feb 24, 2022 at 02:27:14PM +0800, Yang Li wrote:
> The warnings were found by running scripts/kernel-doc, which is
> caused by using 'make W=1'.
> 
> mm/mlock.c:225: warning: Function parameter or member 'folio' not
> described in 'mlock_folio'
> mm/mlock.c:225: warning: Excess function parameter 'page' description in
> 'mlock_folio'

Folded it into the patch that introduced the problem.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-24 21:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-24  6:27 [PATCH -next] mm/mlock: Fix argument list that the kdoc format and script verified Yang Li
2022-02-24 21:55 ` Matthew Wilcox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.