diff mbox series

maple_tree: fix comment typo on ma_flag of allocation tree

Message ID 20240809020115.31575-1-richard.weiyang@gmail.com (mailing list archive)
State New
Headers show
Series maple_tree: fix comment typo on ma_flag of allocation tree | expand

Commit Message

Wei Yang Aug. 9, 2024, 2:01 a.m. UTC
The maple tree flag of allocation tree is MT_FLAGS_ALLOC_RANGE.

Just correct it.

Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
---
 include/linux/maple_tree.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Liam R. Howlett Aug. 14, 2024, 1:29 a.m. UTC | #1
* Wei Yang <richard.weiyang@gmail.com> [240808 22:02]:
> The maple tree flag of allocation tree is MT_FLAGS_ALLOC_RANGE.
> 
> Just correct it.
> 
> Signed-off-by: Wei Yang <richard.weiyang@gmail.com>

Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>

> ---
>  include/linux/maple_tree.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h
> index a53ad4dabd7e..9c5fd645aa0e 100644
> --- a/include/linux/maple_tree.h
> +++ b/include/linux/maple_tree.h
> @@ -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
> -- 
> 2.34.1
>
Wei Yang Sept. 1, 2024, 12:39 a.m. UTC | #2
On Tue, Aug 13, 2024 at 09:29:32PM -0400, Liam R. Howlett wrote:
>* Wei Yang <richard.weiyang@gmail.com> [240808 22:02]:
>> The maple tree flag of allocation tree is MT_FLAGS_ALLOC_RANGE.
>> 
>> Just correct it.
>> 
>> Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
>
>Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
>

Andrew

Sorry for not including you for this thread.

>> ---
>>  include/linux/maple_tree.h | 6 +++---
>>  1 file changed, 3 insertions(+), 3 deletions(-)
>> 
>> diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h
>> index a53ad4dabd7e..9c5fd645aa0e 100644
>> --- a/include/linux/maple_tree.h
>> +++ b/include/linux/maple_tree.h
>> @@ -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
>> -- 
>> 2.34.1
>>
diff mbox series

Patch

diff --git a/include/linux/maple_tree.h b/include/linux/maple_tree.h
index a53ad4dabd7e..9c5fd645aa0e 100644
--- a/include/linux/maple_tree.h
+++ b/include/linux/maple_tree.h
@@ -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