linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] maple_tree: fix comment describing mas_node_count_gfp()
@ 2024-01-09 22:31 Sidhartha Kumar
  2024-01-10  2:24 ` Liam R. Howlett
  0 siblings, 1 reply; 2+ messages in thread
From: Sidhartha Kumar @ 2024-01-09 22:31 UTC (permalink / raw)
  To: linux-kernel, linux-mm, maple-tree
  Cc: akpm, liam.howlett, zhangpeng.00, Sidhartha Kumar

The function description comment for mas_node_count_gfp() mistakingly
refers to the function as mas_node_count(). Change it to refer to the
correct function.

Signed-off-by: Sidhartha Kumar <sidhartha.kumar@oracle.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 6f241bb387992..7b161802860bd 100644
--- a/lib/maple_tree.c
+++ b/lib/maple_tree.c
@@ -1307,8 +1307,8 @@ static inline void mas_free(struct ma_state *mas, struct maple_enode *used)
 }
 
 /*
- * mas_node_count() - Check if enough nodes are allocated and request more if
- * there is not enough nodes.
+ * mas_node_count_gfp() - Check if enough nodes are allocated and request more
+ * if there is not enough nodes.
  * @mas: The maple state
  * @count: The number of nodes needed
  * @gfp: the gfp flags
-- 
2.42.0



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-10  2:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-09 22:31 [PATCH] maple_tree: fix comment describing mas_node_count_gfp() Sidhartha Kumar
2024-01-10  2:24 ` Liam R. Howlett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox