Skip to contentSkip to conversation

ftrace: fix a typo in comment

PATCH Superseded Li Bin 3 participants 4 messages Nov 30, 2015

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Li Bin

author
#0 lore raw

PATCH 1/1 ftrace: fix a typo in comment

s/ARCH_SUPPORT_FTARCE_OPS/ARCH_SUPPORTS_FTARCE_OPS

---
 kernel/trace/ftrace.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/trace/ftrace.c +1 -1
index 3f743b1..eb4a881 100644
@@ -5195,7 +5195,7 @@ out:
  * being NULL, or CONFIG_DYNAMIC_FTRACE_WITH_REGS.
  * Note, CONFIG_DYNAMIC_FTRACE_WITH_REGS expects a full regs to be saved.
  * An architecture can pass partial regs with ftrace_ops and still
- * set the ARCH_SUPPORT_FTARCE_OPS.
+ * set the ARCH_SUPPORTS_FTARCE_OPS.
  */
 #if ARCH_SUPPORTS_FTRACE_OPS
 static void ftrace_ops_list_func(unsigned long ip, unsigned long parent_ip,
Signature · 1 line
1.7.1
#1 lore raw
Quoted 1 line · Li Bin

s/ARCH_SUPPORT_FTARCE_OPS/ARCH_SUPPORTS_FTARCE_OPS

How about s/FTARCE/FTRACE/ as well?

Daniel K.

author
#2 lore raw

Sorry for my mistake. And please ignore this patch.

Thanks,
Li Bin

Quoted 9 lines · Daniel K.
Quoted 1 line · Li Bin

s/ARCH_SUPPORT_FTARCE_OPS/ARCH_SUPPORTS_FTARCE_OPS

How about s/FTARCE/FTRACE/ as well?

Daniel K.

maintainer
#3 lore raw
In reply to Li Bin
Quoted 12 lines · On Mon, 30 Nov 2015 17:24:28 +0800 Li Bin <[email protected]> wrote:

s/ARCH_SUPPORT_FTARCE_OPS/ARCH_SUPPORTS_FTARCE_OPS

---
 kernel/trace/ftrace.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/trace/ftrace.c +0 -0
index 3f743b1..eb4a881 100644

kernel/trace/ftrace.c out: · line 5198

Quoted 5 lines
kernel/trace/ftrace.c +1 -1
@@ -5195,7 +5195,7 @@ out:
  * being NULL, or CONFIG_DYNAMIC_FTRACE_WITH_REGS.
  * Note, CONFIG_DYNAMIC_FTRACE_WITH_REGS expects a full regs to be saved.
  * An architecture can pass partial regs with ftrace_ops and still
- * set the ARCH_SUPPORT_FTARCE_OPS.
+ * set the ARCH_SUPPORTS_FTARCE_OPS.

Nice, except can you change the typo of s/FTARCE/FTRACE/ too ;-)

Although I have to admit that FTRACE is sometimes F'ng Tarce!

-- Steve

Quoted 3 lines
kernel/trace/ftrace.c +0 -0
  */
 #if ARCH_SUPPORTS_FTRACE_OPS
 static void ftrace_ops_list_func(unsigned long ip, unsigned long parent_ip,