lkml.org 
[lkml]   [2023]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2] maple_tree: fix comment of mte_destroy_walk
Date
The parameter name of maple tree is mt, make the comment to be mt
instead of mn, and the separator between the parameter name and
the description to be : instead of -.

Fixes: 54a611b60590 ("Maple Tree: add new data structure")
Signed-off-by: Vernon Yang <vernon2gm@gmail.com>
---

Changes since v1:
- fix the separator between the parameter name and
the description to be : instead of -.

v1: https://lore.kernel.org/linux-mm/20230110152216.1712120-1-vernon2gm@gmail.com/

lib/maple_tree.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/maple_tree.c b/lib/maple_tree.c
index 26e2045d3cda..3f5005261618 100644
--- a/lib/maple_tree.c
+++ b/lib/maple_tree.c
@@ -5590,8 +5590,8 @@ 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.
+ * @enode: the encoded maple node (maple_enode) to start
+ * @mt: the tree to free - needed for node types.
*
* Must hold the write lock.
*/
--
2.34.1
\
 
 \ /
  Last update: 2023-03-26 23:36    [W:0.018 / U:0.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site