public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ftrace: fix a typo in comment
@ 2015-11-30  9:24 Li Bin
  2015-11-30  9:53 ` Daniel K.
  2015-11-30 15:04 ` Steven Rostedt
  0 siblings, 2 replies; 4+ messages in thread
From: Li Bin @ 2015-11-30  9:24 UTC (permalink / raw)
  To: rostedt, mingo; +Cc: linux-kernel, guohanjun, xiexiuqi, huawei.libin

s/ARCH_SUPPORT_FTARCE_OPS/ARCH_SUPPORTS_FTARCE_OPS

Signed-off-by: Li Bin <huawei.libin@huawei.com>
---
 kernel/trace/ftrace.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index 3f743b1..eb4a881 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -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,
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ftrace: fix a typo in comment
  2015-11-30  9:24 [PATCH] ftrace: fix a typo in comment Li Bin
@ 2015-11-30  9:53 ` Daniel K.
  2015-11-30 10:20   ` libin
  2015-11-30 15:04 ` Steven Rostedt
  1 sibling, 1 reply; 4+ messages in thread
From: Daniel K. @ 2015-11-30  9:53 UTC (permalink / raw)
  To: Li Bin, rostedt, mingo; +Cc: linux-kernel, guohanjun, xiexiuqi

On 11/30/2015 09:24 AM, Li Bin wrote:
> s/ARCH_SUPPORT_FTARCE_OPS/ARCH_SUPPORTS_FTARCE_OPS

How about s/FTARCE/FTRACE/ as well?


Daniel K.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ftrace: fix a typo in comment
  2015-11-30  9:53 ` Daniel K.
@ 2015-11-30 10:20   ` libin
  0 siblings, 0 replies; 4+ messages in thread
From: libin @ 2015-11-30 10:20 UTC (permalink / raw)
  To: Daniel K., rostedt, mingo; +Cc: linux-kernel, guohanjun, xiexiuqi

Sorry for my mistake. And please ignore this patch.

Thanks,
Li Bin

on 2015/11/30 17:53, Daniel K. wrote:
> On 11/30/2015 09:24 AM, Li Bin wrote:
>> s/ARCH_SUPPORT_FTARCE_OPS/ARCH_SUPPORTS_FTARCE_OPS
> How about s/FTARCE/FTRACE/ as well?
>
>
> Daniel K.
>
>
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ftrace: fix a typo in comment
  2015-11-30  9:24 [PATCH] ftrace: fix a typo in comment Li Bin
  2015-11-30  9:53 ` Daniel K.
@ 2015-11-30 15:04 ` Steven Rostedt
  1 sibling, 0 replies; 4+ messages in thread
From: Steven Rostedt @ 2015-11-30 15:04 UTC (permalink / raw)
  To: Li Bin; +Cc: mingo, linux-kernel, guohanjun, xiexiuqi

On Mon, 30 Nov 2015 17:24:28 +0800
Li Bin <huawei.libin@huawei.com> wrote:

> s/ARCH_SUPPORT_FTARCE_OPS/ARCH_SUPPORTS_FTARCE_OPS
> 
> Signed-off-by: Li Bin <huawei.libin@huawei.com>
> ---
>  kernel/trace/ftrace.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
> index 3f743b1..eb4a881 100644
> --- a/kernel/trace/ftrace.c
> +++ b/kernel/trace/ftrace.c
> @@ -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

>   */
>  #if ARCH_SUPPORTS_FTRACE_OPS
>  static void ftrace_ops_list_func(unsigned long ip, unsigned long parent_ip,


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-11-30 15:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-30  9:24 [PATCH] ftrace: fix a typo in comment Li Bin
2015-11-30  9:53 ` Daniel K.
2015-11-30 10:20   ` libin
2015-11-30 15:04 ` Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox