[PATCH] samples: ftrace: Fix wrong parameter names in MODULE_PARM_DESC()
From: zhangjiao2
Date: Thu Aug 27 2026 - 02:38:50 EST
From: zhang jiao <zhangjiao2@xxxxxxxxxxxxxxxxxxxx>
The MODULE_PARM_DESC() for assist_recursion and assist_rcu both
reference a non-existent parameter "assist_reursion", which is a
misspelling of "assist_recursion" and entirely the wrong name for
the assist_rcu parameter. Correct them to match the module_param()
declarations.
Signed-off-by: zhang jiao <zhangjiao2@xxxxxxxxxxxxxxxxxxxx>
---
samples/ftrace/ftrace-ops.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/samples/ftrace/ftrace-ops.c b/samples/ftrace/ftrace-ops.c
index 8cae38d8b879..5ca621149687 100644
--- a/samples/ftrace/ftrace-ops.c
+++ b/samples/ftrace/ftrace-ops.c
@@ -44,11 +44,11 @@ MODULE_PARM_DESC(save_regs, "Register ops with FTRACE_OPS_FL_SAVE_REGS (save all
static bool assist_recursion;
module_param(assist_recursion, bool, 0);
-MODULE_PARM_DESC(assist_reursion, "Register ops with FTRACE_OPS_FL_RECURSION");
+MODULE_PARM_DESC(assist_recursion, "Register ops with FTRACE_OPS_FL_RECURSION");
static bool assist_rcu;
module_param(assist_rcu, bool, 0);
-MODULE_PARM_DESC(assist_reursion, "Register ops with FTRACE_OPS_FL_RCU");
+MODULE_PARM_DESC(assist_rcu, "Register ops with FTRACE_OPS_FL_RCU");
/*
* By default, a trivial tracer is used which immediately returns to mimimize
--
2.33.0