Skip to contentSkip to conversation

tracing: Fix kernel-doc

PATCH New Jiapeng Chong 1 participant 1 message Feb 18, 2022 Tracing

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 tracing: Fix kernel-doc

Fix the following W=1 kernel warnings:

kernel/trace/trace.c:1181: warning: expecting prototype for tracing_snapshot_cond_data(). Prototype was for tracing_cond_snapshot_data() instead.

---
 kernel/trace/trace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/trace/trace.c +1 -1
index 7c2578efde26..745c5b8a544a 100644
@@ -1164,7 +1164,7 @@ void tracing_snapshot_cond(struct trace_array *tr, void *cond_data)
 EXPORT_SYMBOL_GPL(tracing_snapshot_cond);
 
 /**
- * tracing_snapshot_cond_data - get the user data associated with a snapshot
+ * tracing_cond_snapshot_data - get the user data associated with a snapshot
  * @tr:		The tracing instance
  *
  * When the user enables a conditional snapshot using
Signature · 1 line
2.20.1.7.g153144c