diff mbox series

maple_tree: mtree_insert*: fix typo in kernel-doc description

Message ID 20230715143920.994812-1-rppt@kernel.org (mailing list archive)
State New
Headers show
Series maple_tree: mtree_insert*: fix typo in kernel-doc description | expand

Commit Message

Mike Rapoport July 15, 2023, 2:39 p.m. UTC
From: "Mike Rapoport (IBM)" <rppt@kernel.org>

Replace "Insert and entry at a give index" with "Insert an entry at a
given index"

Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
---
 lib/maple_tree.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Liam R. Howlett July 17, 2023, 1:28 p.m. UTC | #1
* Mike Rapoport <rppt@kernel.org> [230715 10:39]:
> From: "Mike Rapoport (IBM)" <rppt@kernel.org>
> 
> Replace "Insert and entry at a give index" with "Insert an entry at a
> given index"
> 
> Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>

Reviewed-by: Liam R. Howlett <Liam.Howlett@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 92da9c27fbd9..da07c720c380 100644
> --- a/lib/maple_tree.c
> +++ b/lib/maple_tree.c
> @@ -6299,7 +6299,7 @@ int mtree_store(struct maple_tree *mt, unsigned long index, void *entry,
>  EXPORT_SYMBOL(mtree_store);
>  
>  /**
> - * mtree_insert_range() - Insert an entry at a give range if there is no value.
> + * mtree_insert_range() - Insert an entry at a given range if there is no value.
>   * @mt: The maple tree
>   * @first: The start of the range
>   * @last: The end of the range
> @@ -6335,7 +6335,7 @@ int mtree_insert_range(struct maple_tree *mt, unsigned long first,
>  EXPORT_SYMBOL(mtree_insert_range);
>  
>  /**
> - * mtree_insert() - Insert an entry at a give index if there is no value.
> + * mtree_insert() - Insert an entry at a given index if there is no value.
>   * @mt: The maple tree
>   * @index : The index to store the value
>   * @entry: The entry to store
> -- 
> 2.39.2
>
diff mbox series

Patch

diff --git a/lib/maple_tree.c b/lib/maple_tree.c
index 92da9c27fbd9..da07c720c380 100644
--- a/lib/maple_tree.c
+++ b/lib/maple_tree.c
@@ -6299,7 +6299,7 @@  int mtree_store(struct maple_tree *mt, unsigned long index, void *entry,
 EXPORT_SYMBOL(mtree_store);
 
 /**
- * mtree_insert_range() - Insert an entry at a give range if there is no value.
+ * mtree_insert_range() - Insert an entry at a given range if there is no value.
  * @mt: The maple tree
  * @first: The start of the range
  * @last: The end of the range
@@ -6335,7 +6335,7 @@  int mtree_insert_range(struct maple_tree *mt, unsigned long first,
 EXPORT_SYMBOL(mtree_insert_range);
 
 /**
- * mtree_insert() - Insert an entry at a give index if there is no value.
+ * mtree_insert() - Insert an entry at a given index if there is no value.
  * @mt: The maple tree
  * @index : The index to store the value
  * @entry: The entry to store