Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: 885fc8ac0a4d ("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>

authored by

Randy Dunlap and committed by
Christian Brauner
43eb354e 3adf7ae1

+3 -3
+3 -3
include/linux/nstree.h
··· 61 61 62 62 /** 63 63 * ns_tree_add_raw - Add a namespace to a namespace 64 - * @ns: Namespace to add 64 + * @__ns: Namespace to add 65 65 * 66 66 * This function adds a namespace to the appropriate namespace tree 67 67 * without assigning a id. ··· 70 70 71 71 /** 72 72 * ns_tree_add - Add a namespace to a namespace tree 73 - * @ns: Namespace to add 73 + * @__ns: Namespace to add 74 74 * 75 75 * This function assigns a new id to the namespace and adds it to the 76 76 * appropriate namespace tree and list. ··· 81 81 82 82 /** 83 83 * ns_tree_remove - Remove a namespace from a namespace tree 84 - * @ns: Namespace to remove 84 + * @__ns: Namespace to remove 85 85 * 86 86 * This function removes a namespace from the appropriate namespace 87 87 * tree and list.