summaryrefslogtreecommitdiffstats
path: root/mm/migrate.c
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2021-09-03 00:00:36 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2021-09-03 18:58:18 +0200
commitc9bd7d183673b5136e56210003e1d94338d47c45 (patch)
treefd05c31e4360bbc9c4d1391f1d3282a062f47f38 /mm/migrate.c
parentmm: wire up syscall process_mrelease (diff)
downloadlinux-c9bd7d183673b5136e56210003e1d94338d47c45.tar.xz
linux-c9bd7d183673b5136e56210003e1d94338d47c45.zip
mm/migrate: correct kernel-doc notation
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: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/migrate.c')
-rw-r--r--mm/migrate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/migrate.c b/mm/migrate.c
index ae923e9b8874..a0aeb3fe46a7 100644
--- a/mm/migrate.c
+++ b/mm/migrate.c
@@ -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.