Skip to content

Commit 43eb354

Browse files
rddunlapbrauner
authored andcommitted
nstree: fix func. parameter kernel-doc warnings
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: 885fc8a ("nstree: make iterator generic") Signed-off-by: Randy Dunlap <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Christian Brauner <[email protected]>
1 parent 3adf7ae commit 43eb354

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

include/linux/nstree.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ static inline void __ns_tree_add(struct ns_common *ns, struct ns_tree_root *ns_t
6161

6262
/**
6363
* ns_tree_add_raw - Add a namespace to a namespace
64-
* @ns: Namespace to add
64+
* @__ns: Namespace to add
6565
*
6666
* This function adds a namespace to the appropriate namespace tree
6767
* without assigning a id.
@@ -70,7 +70,7 @@ static inline void __ns_tree_add(struct ns_common *ns, struct ns_tree_root *ns_t
7070

7171
/**
7272
* ns_tree_add - Add a namespace to a namespace tree
73-
* @ns: Namespace to add
73+
* @__ns: Namespace to add
7474
*
7575
* This function assigns a new id to the namespace and adds it to the
7676
* appropriate namespace tree and list.
@@ -81,7 +81,7 @@ static inline void __ns_tree_add(struct ns_common *ns, struct ns_tree_root *ns_t
8181

8282
/**
8383
* ns_tree_remove - Remove a namespace from a namespace tree
84-
* @ns: Namespace to remove
84+
* @__ns: Namespace to remove
8585
*
8686
* This function removes a namespace from the appropriate namespace
8787
* tree and list.

0 commit comments

Comments
 (0)