summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorI Hsin Cheng <richard120310@gmail.com>2025-02-10 02:10:23 +0800
committerAndrew Morton <akpm@linux-foundation.org>2025-03-16 22:06:10 -0700
commit67254c7d70b63797a54173fbe05cd6552aca11d4 (patch)
treefddaef02cd9753d4844003364a3958b2f3c65f51 /lib
parent6e80c0aaad469e0a923ea0d7018fb1464e992018 (diff)
maple_tree: correct comment for mas_start()
There's no mas->status of "mas_start", what the function is checking is whether mas->status equals to "ma_start". Correct the comment for the function. Link: https://lkml.kernel.org/r/20250209181023.228856-1-richard120310@gmail.com Signed-off-by: I Hsin Cheng <richard120310@gmail.com> Reviewed-by: Liam R. Howlett <howlett@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/maple_tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/maple_tree.c b/lib/maple_tree.c
index f7153ade1be5..42c65974a56c 100644
--- a/lib/maple_tree.c
+++ b/lib/maple_tree.c
@@ -1353,7 +1353,7 @@ static void mas_node_count(struct ma_state *mas, int count)
* mas_start() - Sets up maple state for operations.
* @mas: The maple state.
*
- * If mas->status == mas_start, then set the min, max and depth to
+ * If mas->status == ma_start, then set the min, max and depth to
* defaults.
*
* Return: