aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2020-01-14 16:27:51 -0500
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2020-01-14 16:27:51 -0500
commitcfc585a401764f0d352602d614c19866bb84738a (patch)
treee1c28c6fbdc60d3cb9c58c63d0388e542d253c75
parentring-bufer: kernel-doc warning fixes (diff)
downloadlinux-dev-cfc585a401764f0d352602d614c19866bb84738a.tar.xz
linux-dev-cfc585a401764f0d352602d614c19866bb84738a.zip
ring-buffer: Fix kernel doc for rb_update_event()
rb_update_event has changed without the kernel-doc update. Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
-rw-r--r--kernel/trace/ring_buffer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c
index 46d67ff68795..3bab9b0a90b6 100644
--- a/kernel/trace/ring_buffer.c
+++ b/kernel/trace/ring_buffer.c
@@ -2331,11 +2331,11 @@ static inline bool rb_event_is_commit(struct ring_buffer_per_cpu *cpu_buffer,
/**
* rb_update_event - update event type and data
+ * @cpu_buffer: The per cpu buffer of the @event
* @event: the event to update
- * @type: the type of event
- * @length: the size of the event field in the ring buffer
+ * @info: The info to update the @event with (contains length and delta)
*
- * Update the type and data fields of the event. The length
+ * Update the type and data fields of the @event. The length
* is the actual size that is written to the ring buffer,
* and with this, we can determine what to place into the
* data field.