[PATCH 2/3] mm: mempolicy: fix kerneldoc of numa_map_to_online_node()
Tim Gardner
tim.gardner at canonical.com
Tue Mar 15 15:19:32 UTC 2022
From: Krzysztof Kozlowski <krzk at kernel.org>
BugLink: https://bugs.launchpad.net/bugs/1961300
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 at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Reviewed-by: Andrew Morton <akpm at linux-foundation.org>
Link: http://lkml.kernel.org/r/20200728171109.28687-3-krzk@kernel.org
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
(cherry picked from commit f6e92f404834698df0a7c4e1d8e07b3771cd6e46)
Signed-off-by: Tim Gardner <tim.gardner at canonical.com>
---
mm/mempolicy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/mempolicy.c b/mm/mempolicy.c
index 2224eef49fc8e..74436fbfc77e8 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.
*/
--
2.35.1
More information about the kernel-team
mailing list