[PATCH] nstree: fix func. parameter kernel-doc warnings

Randy Dunlap posted 1 patch 1 month, 3 weeks ago
There is a newer version of this series
include/linux/nstree.h |    6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH] nstree: fix func. parameter kernel-doc warnings
Posted by Randy Dunlap 1 month, 3 weeks ago
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'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Christian Brauner <brauner@kernel.org>

 include/linux/nstree.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- linux-next-20260218.orig/include/linux/nstree.h
+++ linux-next-20260218/include/linux/nstree.h
@@ -61,7 +61,7 @@ static inline void __ns_tree_add(struct
 
 /**
  * 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.
@@ -70,7 +70,7 @@ static inline void __ns_tree_add(struct
 
 /**
  * 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.
@@ -81,7 +81,7 @@ static inline void __ns_tree_add(struct
 
 /**
  * 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.