Skip to content

Commit c9bd7d1

Browse files
rddunlaptorvalds
authored andcommitted
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>
1 parent dce4910 commit c9bd7d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mm/migrate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ static int node_demotion[MAX_NUMNODES] __read_mostly =
11491149
* next_demotion_node() - Get the next node in the demotion path
11501150
* @node: The starting node to lookup the next node
11511151
*
1152-
* @returns: node id for next memory node in the demotion path hierarchy
1152+
* Return: node id for next memory node in the demotion path hierarchy
11531153
* from @node; NUMA_NO_NODE if @node is terminal. This does not keep
11541154
* @node online or guarantee that it *continues* to be the next demotion
11551155
* target.

0 commit comments

Comments
 (0)