]> Git Repo - J-linux.git/commitdiff
ring-buffer: Reorganize kerneldoc parameter names
authorJulia Lawall <[email protected]>
Mon, 30 Sep 2024 11:21:07 +0000 (13:21 +0200)
committerSteven Rostedt (Google) <[email protected]>
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 <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Julia Lawall <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
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
This page took 0.053586 seconds and 4 git commands to generate.