2023-07-15 10:21:26

by Mike Rapoport

[permalink] [raw]
Subject: [PATCH] maple_tree: mtree_insert: fix typo in kernel-doc description of GFP flags

From: "Mike Rapoport (IBM)" <[email protected]>

Replace FGP_FLAGS with GFP_FLAGS

Signed-off-by: Mike Rapoport (IBM) <[email protected]>
---
lib/maple_tree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/maple_tree.c b/lib/maple_tree.c
index 8ebc43d4cc8c..92da9c27fbd9 100644
--- a/lib/maple_tree.c
+++ b/lib/maple_tree.c
@@ -6339,7 +6339,7 @@ EXPORT_SYMBOL(mtree_insert_range);
* @mt: The maple tree
* @index : The index to store the value
* @entry: The entry to store
- * @gfp: The FGP_FLAGS to use for allocations.
+ * @gfp: The GFP_FLAGS to use for allocations.
*
* Return: 0 on success, -EEXISTS if the range is occupied, -EINVAL on invalid
* request, -ENOMEM if memory could not be allocated.
--
2.39.2



2023-07-17 14:24:26

by Liam R. Howlett

[permalink] [raw]
Subject: Re: [PATCH] maple_tree: mtree_insert: fix typo in kernel-doc description of GFP flags

* Mike Rapoport <[email protected]> [230715 04:40]:
> From: "Mike Rapoport (IBM)" <[email protected]>
>
> Replace FGP_FLAGS with GFP_FLAGS
>
> Signed-off-by: Mike Rapoport (IBM) <[email protected]>

Reviewed-by: Liam R. Howlett <[email protected]>

> ---
> lib/maple_tree.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/maple_tree.c b/lib/maple_tree.c
> index 8ebc43d4cc8c..92da9c27fbd9 100644
> --- a/lib/maple_tree.c
> +++ b/lib/maple_tree.c
> @@ -6339,7 +6339,7 @@ EXPORT_SYMBOL(mtree_insert_range);
> * @mt: The maple tree
> * @index : The index to store the value
> * @entry: The entry to store
> - * @gfp: The FGP_FLAGS to use for allocations.
> + * @gfp: The GFP_FLAGS to use for allocations.
> *
> * Return: 0 on success, -EEXISTS if the range is occupied, -EINVAL on invalid
> * request, -ENOMEM if memory could not be allocated.
> --
> 2.39.2
>