]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
mm/migrate: correct kernel-doc notation
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 23 Aug 2021 23:59:37 +0000 (09:59 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 25 Aug 2021 23:34:17 +0000 (09:34 +1000)
Use the expected "Return:" format to prevent a kernel-doc warning.

mm/migrate.c:1157: warning: Excess function parameter 'returns' description in 'next_demotion_node'

Link: https://lkml.kernel.org/r/20210808203151.10632-1-rdunlap@infradead.org
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
mm/migrate.c

index ae923e9b88743c7381c4e7f72ac2fc256e341929..a0aeb3fe46a7c82f263ed24fc91c6ac65d2a2295 100644 (file)
@@ -1149,7 +1149,7 @@ static int node_demotion[MAX_NUMNODES] __read_mostly =
  * next_demotion_node() - Get the next node in the demotion path
  * @node: The starting node to lookup the next node
  *
- * @returns: node id for next memory node in the demotion path hierarchy
+ * Return: node id for next memory node in the demotion path hierarchy
  * from @node; NUMA_NO_NODE if @node is terminal.  This does not keep
  * @node online or guarantee that it *continues* to be the next demotion
  * target.