Commit bd740953 authored by zhaoxiao's avatar zhaoxiao Committed by Steven Rostedt (VMware)

tracepoint: Fix kerneldoc comments

Fix function name in tracepoint.c kernel-doc comment
to remove a warning found by clang_w1.

kernel/tracepoint.c:589: warning: expecting prototype for register_tracepoint_notifier(). Prototype was for register_tracepoint_module_notifier() instead
kernel/tracepoint.c:613: warning: expecting prototype for unregister_tracepoint_notifier(). Prototype was for unregister_tracepoint_module_notifier() instead

Link: https://lkml.kernel.org/r/20210816052430.16539-1-zhaoxiao@uniontech.comAcked-by: default avatarMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: default avatarzhaoxiao <zhaoxiao@uniontech.com>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
parent 54b3498d
...@@ -577,7 +577,7 @@ bool trace_module_has_bad_taint(struct module *mod) ...@@ -577,7 +577,7 @@ bool trace_module_has_bad_taint(struct module *mod)
static BLOCKING_NOTIFIER_HEAD(tracepoint_notify_list); static BLOCKING_NOTIFIER_HEAD(tracepoint_notify_list);
/** /**
* register_tracepoint_notifier - register tracepoint coming/going notifier * register_tracepoint_module_notifier - register tracepoint coming/going notifier
* @nb: notifier block * @nb: notifier block
* *
* Notifiers registered with this function are called on module * Notifiers registered with this function are called on module
...@@ -603,7 +603,7 @@ int register_tracepoint_module_notifier(struct notifier_block *nb) ...@@ -603,7 +603,7 @@ int register_tracepoint_module_notifier(struct notifier_block *nb)
EXPORT_SYMBOL_GPL(register_tracepoint_module_notifier); EXPORT_SYMBOL_GPL(register_tracepoint_module_notifier);
/** /**
* unregister_tracepoint_notifier - unregister tracepoint coming/going notifier * unregister_tracepoint_module_notifier - unregister tracepoint coming/going notifier
* @nb: notifier block * @nb: notifier block
* *
* The notifier block callback should expect a "struct tp_module" data * The notifier block callback should expect a "struct tp_module" data
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment