mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-09-22 09:34:56 +02:00
nstree: fix func. parameter kernel-doc warnings
[ Upstream commit43eb354ecb] Use the correct parameter name ("__ns") for function parameter kernel-doc to avoid 3 warnings: Warning: include/linux/nstree.h:68 function parameter '__ns' not described in 'ns_tree_add_raw' Warning: include/linux/nstree.h:77 function parameter '__ns' not described in 'ns_tree_add' Warning: include/linux/nstree.h:88 function parameter '__ns' not described in 'ns_tree_remove' Fixes:885fc8ac0a("nstree: make iterator generic") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Link: https://patch.msgid.link/20260416215429.948898-1-rdunlap@infradead.org Signed-off-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
70f788e226
commit
bd501c8640
@@ -45,7 +45,7 @@ static inline void __ns_tree_add(struct ns_common *ns, struct ns_tree *ns_tree)
|
||||
|
||||
/**
|
||||
* ns_tree_add_raw - Add a namespace to a namespace
|
||||
* @ns: Namespace to add
|
||||
* @__ns: Namespace to add
|
||||
*
|
||||
* This function adds a namespace to the appropriate namespace tree
|
||||
* without assigning a id.
|
||||
@@ -54,7 +54,7 @@ static inline void __ns_tree_add(struct ns_common *ns, struct ns_tree *ns_tree)
|
||||
|
||||
/**
|
||||
* ns_tree_add - Add a namespace to a namespace tree
|
||||
* @ns: Namespace to add
|
||||
* @__ns: Namespace to add
|
||||
*
|
||||
* This function assigns a new id to the namespace and adds it to the
|
||||
* appropriate namespace tree and list.
|
||||
@@ -63,7 +63,7 @@ static inline void __ns_tree_add(struct ns_common *ns, struct ns_tree *ns_tree)
|
||||
|
||||
/**
|
||||
* ns_tree_remove - Remove a namespace from a namespace tree
|
||||
* @ns: Namespace to remove
|
||||
* @__ns: Namespace to remove
|
||||
*
|
||||
* This function removes a namespace from the appropriate namespace
|
||||
* tree and list.
|
||||
|
||||
Reference in New Issue
Block a user