diff mbox series

[3/4] tracing: Fix kernel-doc warnings in trace_events_trigger.c

Message ID 20230724140827.1023266-4-cuigaosheng1@huawei.com (mailing list archive)
State Accepted
Commit bd7217f30c7f08fc20f745aa1e2174eb3ff6d82a
Headers show
Series Fix kernel-doc warnings in kernel/trace | expand

Commit Message

cuigaosheng July 24, 2023, 2:08 p.m. UTC
Fix kernel-doc warnings:

kernel/trace/trace_events_trigger.c:59: warning: Function parameter
or member 'buffer' not described in 'event_triggers_call'
kernel/trace/trace_events_trigger.c:59: warning: Function parameter
or member 'event' not described in 'event_triggers_call'

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
---
 kernel/trace/trace_events_trigger.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/kernel/trace/trace_events_trigger.c b/kernel/trace/trace_events_trigger.c
index e535959939d3..46439e3bcec4 100644
--- a/kernel/trace/trace_events_trigger.c
+++ b/kernel/trace/trace_events_trigger.c
@@ -31,7 +31,9 @@  void trigger_data_free(struct event_trigger_data *data)
 /**
  * event_triggers_call - Call triggers associated with a trace event
  * @file: The trace_event_file associated with the event
+ * @buffer: The ring buffer that the event is being written to
  * @rec: The trace entry for the event, NULL for unconditional invocation
+ * @event: The event meta data in the ring buffer
  *
  * For each trigger associated with an event, invoke the trigger
  * function registered with the associated trigger command.  If rec is