[PATCH v2] ftrace: Add missing kerneldoc parameters to unregister_ftrace_direct()

From: Marilene A Garcia
Date: Thu Jun 06 2024 - 09:26:38 EST


Add the description to the parameters addr and free_filters
of the function unregister_ftrace_direct().

Signed-off-by: Marilene A Garcia <marilene.agarcia@xxxxxxxxx>
---
Hello,
Thank you for the feedback.
The requested changes were applied in this new version.

kernel/trace/ftrace.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index da7e6abf48b4..1f79cf3c598e 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -5960,6 +5960,8 @@ EXPORT_SYMBOL_GPL(register_ftrace_direct);
* unregister_ftrace_direct - Remove calls to custom trampoline
* previously registered by register_ftrace_direct for @ops object.
* @ops: The address of the struct ftrace_ops object
+ * @addr: The address of the direct function that is called by the @ops functions
+ * @free_filters: Set to true to remove all filters for the ftrace_ops, false otherwise
*
* This is used to remove a direct calls to @addr from the nop locations
* of the functions registered in @ops (with by ftrace_set_filter_ip
--
2.34.1