maple_tree: fix comment of mte_destroy_walk
Subsystems (3)
PATCH 1/1 maple_tree: fix comment of mte_destroy_walk
The parameter name of maple tree is mt, so make the comment to correct.
--- lib/maple_tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/maple_tree.c +1 -1
@@ -5591,7 +5591,7 @@ static void mt_destroy_walk(struct maple_enode *enode, unsigned char ma_flags,/* * mte_destroy_walk() - Free a tree or sub-tree. * @enode - the encoded maple node (maple_enode) to start -* @mn - the tree to free - needed for node types. +* @mt - the tree to free - needed for node types. * * Must hold the write lock. */
Signature · 1 line
2.34.1
Quoted 5 lines · Vernon Yang
/*
*mte_destroy_walk()- Free a tree or sub-tree.
* @enode - the encoded maple node (maple_enode) to start
- * @mn - the tree to free - needed for node types.
+ * @mt - the tree to free - needed for node types.
Should probably also fix the separator between the parameter name and the description to be : instead of -.
Quoted 9 lines · Matthew Wilcox
Quoted 5 lines · Vernon Yang
/*
*mte_destroy_walk()- Free a tree or sub-tree.
* @enode - the encoded maple node (maple_enode) to start
- * @mn - the tree to free - needed for node types.
+ * @mt - the tree to free - needed for node types.Should probably also fix the separator between the parameter name and the description to be : instead of -.
Okay, thanks you for review.