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/[email protected] Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent dce4910 commit c9bd7d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)