mm: mempolicy: fix kerneldoc of numa_map_to_online_node()
Fix W=1 compile warnings (invalid kerneldoc):
mm/mempolicy.c:137: warning: Function parameter or member 'node' not described in 'numa_map_to_online_node'
mm/mempolicy.c:137: warning: Excess function parameter 'nid' description in 'numa_map_to_online_node'
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20200728171109.28687-3-krzk@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
860b32729a
commit
f6e92f4048
@@ -129,7 +129,7 @@ static struct mempolicy preferred_node_policy[MAX_NUMNODES];
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* numa_map_to_online_node - Find closest online node
|
* numa_map_to_online_node - Find closest online node
|
||||||
* @nid: Node id to start the search
|
* @node: Node id to start the search
|
||||||
*
|
*
|
||||||
* Lookup the next closest node by distance if @nid is not online.
|
* Lookup the next closest node by distance if @nid is not online.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user