Skip to contentSkip to conversation

maple_tree: fix comment typo on ma_flag of allocation tree

PATCH Applied Wei Yang 2 participants 3 messages Aug 9, 2024 – Sep 1, 2024

Subsystems (2)
lore
Share & tools
lore

Wei Yang

author
#0 lore raw

PATCH 1/1 maple_tree: fix comment typo on ma_flag of allocation tree

The maple tree flag of allocation tree is MT_FLAGS_ALLOC_RANGE.

Just correct it.

---
 include/linux/maple_tree.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
include/linux/maple_tree.h +3 -3
index a53ad4dabd7e..9c5fd645aa0e 100644
@@ -52,9 +52,9 @@
  * bit in the node type.  This is possible by using bit 1 to indicate if bit 2
  * is part of the type or the slot.
  *
- * Once the type is decided, the decision of an allocation range type or a range
- * type is done by examining the immutable tree flag for the MAPLE_ALLOC_RANGE
- * flag.
+ * Once the type is decided, the decision of an allocation range type or a
+ * range type is done by examining the immutable tree flag for the
+ * MT_FLAGS_ALLOC_RANGE flag.
  *
  *  Node types:
  *   0x??1 = Root
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Wei Yang

The maple tree flag of allocation tree is MT_FLAGS_ALLOC_RANGE.

Just correct it.

Quoted 24 lines
---
 include/linux/maple_tree.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
include/linux/maple_tree.h +3 -3
index a53ad4dabd7e..9c5fd645aa0e 100644
@@ -52,9 +52,9 @@
  * bit in the node type.  This is possible by using bit 1 to indicate if bit 2
  * is part of the type or the slot.
  *
- * Once the type is decided, the decision of an allocation range type or a range
- * type is done by examining the immutable tree flag for the MAPLE_ALLOC_RANGE
- * flag.
+ * Once the type is decided, the decision of an allocation range type or a
+ * range type is done by examining the immutable tree flag for the
+ * MT_FLAGS_ALLOC_RANGE flag.
  *
  *  Node types:
  *   0x??1 = Root
Signature · 1 line
2.34.1
author
#2 lore raw
Quoted 9 lines · Liam R. Howlett
Quoted 5 lines · Wei Yang

The maple tree flag of allocation tree is MT_FLAGS_ALLOC_RANGE.

Just correct it.

Andrew

Sorry for not including you for this thread.

Quoted 24 lines
Quoted 24 lines
---
 include/linux/maple_tree.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
include/linux/maple_tree.h +3 -3
index a53ad4dabd7e..9c5fd645aa0e 100644
@@ -52,9 +52,9 @@
  * bit in the node type.  This is possible by using bit 1 to indicate if bit 2
  * is part of the type or the slot.
  *
- * Once the type is decided, the decision of an allocation range type or a range
- * type is done by examining the immutable tree flag for the MAPLE_ALLOC_RANGE
- * flag.
+ * Once the type is decided, the decision of an allocation range type or a
+ * range type is done by examining the immutable tree flag for the
+ * MT_FLAGS_ALLOC_RANGE flag.
  *
  *  Node types:
  *   0x??1 = Root
Signature · 1 line
2.34.1
Signature · 2 lines
Wei Yang
Help you, Help me