diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-08-11 18:31:13 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-08-12 10:57:56 -0700 |
commit | f6e92f404834698df0a7c4e1d8e07b3771cd6e46 (patch) | |
tree | 972d47e0f0e859637db33c49ff04fcf9fa4e97bd /mm | |
parent | 860b32729a21e0565585a9e2ecea2e5244d65acd (diff) | |
download | linux-f6e92f404834698df0a7c4e1d8e07b3771cd6e46.tar.gz linux-f6e92f404834698df0a7c4e1d8e07b3771cd6e46.tar.bz2 linux-f6e92f404834698df0a7c4e1d8e07b3771cd6e46.zip |
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>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/mempolicy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 7af44d7cdd11..92030ead2506 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c @@ -129,7 +129,7 @@ static struct mempolicy preferred_node_policy[MAX_NUMNODES]; /** * 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. */ |