[PATCH 14/35] maple_tree: Reorganize kerneldoc parameter names

Julia Lawall posted 35 patches 1 month, 4 weeks ago
[PATCH 14/35] maple_tree: Reorganize kerneldoc parameter names
Posted by Julia Lawall 1 month, 4 weeks ago
Reorganize kerneldoc parameter names to match the parameter
order in the function header.

Problems identified using Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

---
 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 37abf0fe380b..b7f59c40530e 100644
--- a/lib/maple_tree.c
+++ b/lib/maple_tree.c
@@ -4327,9 +4327,9 @@ static inline void *mas_insert(struct ma_state *mas, void *entry)
  * mas_alloc_cyclic() - Internal call to find somewhere to store an entry
  * @mas: The maple state.
  * @startp: Pointer to ID.
+ * @entry: The entry to store.
  * @range_lo: Lower bound of range to search.
  * @range_hi: Upper bound of range to search.
- * @entry: The entry to store.
  * @next: Pointer to next ID to allocate.
  * @gfp: The GFP_FLAGS to use for allocations.
  *
Re: [PATCH 14/35] maple_tree: Reorganize kerneldoc parameter names
Posted by Liam R. Howlett 1 month, 2 weeks ago
* Julia Lawall <Julia.Lawall@inria.fr> [240930 07:21]:
> Reorganize kerneldoc parameter names to match the parameter
> order in the function header.
> 
> Problems identified using Coccinelle.
> 
> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

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

> 
> ---
>  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 37abf0fe380b..b7f59c40530e 100644
> --- a/lib/maple_tree.c
> +++ b/lib/maple_tree.c
> @@ -4327,9 +4327,9 @@ static inline void *mas_insert(struct ma_state *mas, void *entry)
>   * mas_alloc_cyclic() - Internal call to find somewhere to store an entry
>   * @mas: The maple state.
>   * @startp: Pointer to ID.
> + * @entry: The entry to store.
>   * @range_lo: Lower bound of range to search.
>   * @range_hi: Upper bound of range to search.
> - * @entry: The entry to store.
>   * @next: Pointer to next ID to allocate.
>   * @gfp: The GFP_FLAGS to use for allocations.
>   *
> 
>