diff mbox series

[14/35] maple_tree: Reorganize kerneldoc parameter names

Message ID 20240930112121.95324-15-Julia.Lawall@inria.fr (mailing list archive)
State New
Headers show
Series Reorganize kerneldoc parameter names | expand

Commit Message

Julia Lawall Sept. 30, 2024, 11:21 a.m. UTC
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(-)

Comments

Liam R. Howlett Oct. 9, 2024, 12:27 a.m. UTC | #1
* 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.
>   *
> 
>
diff mbox series

Patch

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.
  *