]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ring-buffer: Reorganize kerneldoc parameter names
authorJulia Lawall <Julia.Lawall@inria.fr>
Mon, 30 Sep 2024 11:21:07 +0000 (13:21 +0200)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Sat, 19 Oct 2024 15:12:25 +0000 (11:12 -0400)
Reorganize kerneldoc parameter names to match the parameter
order in the function header.

Problems identified using Coccinelle.

Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://lore.kernel.org/20240930112121.95324-22-Julia.Lawall@inria.fr
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/ring_buffer.c

index adde95400ab4d4c6ea34aa3db4e6e9d5cc446de5..db3bf6a1b53697e90e944798b651ebfa20a04ecb 100644 (file)
@@ -2436,9 +2436,9 @@ EXPORT_SYMBOL_GPL(__ring_buffer_alloc);
  * __ring_buffer_alloc_range - allocate a new ring_buffer from existing memory
  * @size: the size in bytes per cpu that is needed.
  * @flags: attributes to set for the ring buffer.
+ * @order: sub-buffer order
  * @start: start of allocated range
  * @range_size: size of allocated range
- * @order: sub-buffer order
  * @key: ring buffer reader_lock_key.
  *
  * Currently the only flag that is available is the RB_FL_OVERWRITE