Skip to contentSkip to conversation

ftrace: use non-archaic spelling of failes

PATCH In review Thadeu Lima de Souza Cascardo 3 participants 5 messages May 31, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ftrace: use non-archaic spelling of failes

---
 kernel/trace/ftrace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/trace/ftrace.c +1 -1
index 8d83bcf9ef69..b218cee1f18c 100644
@@ -4788,7 +4788,7 @@ ftrace_set_addr(struct ftrace_ops *ops, unsigned long ip, int remove,
  * @reset - non zero to reset all filters before applying this filter.
  *
  * Filters denote which functions should be enabled when tracing is enabled
- * If @ip is NULL, it failes to update filter.
+ * If @ip is NULL, it fails to update filter.
  */
 int ftrace_set_filter_ip(struct ftrace_ops *ops, unsigned long ip,
 			 int remove, int reset)
Signature · 1 line
2.17.0
#1 lore raw

kernel/trace/ftrace.c

Quoted 1 line · Thadeu Lima de Souza Cascardo
kernel/trace/ftrace.c +0 -0

[]

kernel/trace/ftrace.c ftrace_set_addr(struct ftrace_ops *ops, unsigned long ip, int remove, · line 4794

Quoted 9 lines
kernel/trace/ftrace.c +1 -1
@@ -4788,7 +4788,7 @@ ftrace_set_addr(struct ftrace_ops *ops, unsigned long ip, int remove,
  * @reset - non zero to reset all filters before applying this filter.
  *
  * Filters denote which functions should be enabled when tracing is enabled
- * If @ip is NULL, it failes to update filter.
+ * If @ip is NULL, it fails to update filter.
  */
 int ftrace_set_filter_ip(struct ftrace_ops *ops, unsigned long ip,
 			 int remove, int reset)

Perhaps fix it treewide?

$ git grep -w -i failes | wc -l
8
#2 lore raw
Quoted 15 lines · Joe Perches

kernel/trace/ftrace.c

Quoted 1 line · Thadeu Lima de Souza Cascardo
kernel/trace/ftrace.c +0 -0

[]

kernel/trace/ftrace.c ftrace_set_addr(struct ftrace_ops *ops, unsigned long ip, int remove, · line 4794

Quoted 9 lines
kernel/trace/ftrace.c +1 -1
@@ -4788,7 +4788,7 @@ ftrace_set_addr(struct ftrace_ops *ops, unsigned long ip, int remove,
  * @reset - non zero to reset all filters before applying this filter.
  *
  * Filters denote which functions should be enabled when tracing is enabled
- * If @ip is NULL, it failes to update filter.
+ * If @ip is NULL, it fails to update filter.
  */
 int ftrace_set_filter_ip(struct ftrace_ops *ops, unsigned long ip,
 			 int remove, int reset)

Perhaps fix it treewide?

Quoted 3 lines
$ git grep -w -i failes | wc -l
8

I sent patches to the respective maintainers for all of these.

Cascardo.

#3 lore raw
Quoted 16 lines · Thadeu Lima de Souza Cascardo
Quoted 15 lines · Joe Perches

kernel/trace/ftrace.c

Quoted 1 line · Thadeu Lima de Souza Cascardo
kernel/trace/ftrace.c +0 -0

[]

kernel/trace/ftrace.c ftrace_set_addr(struct ftrace_ops *ops, unsigned long ip, int remove, · line 4794

Quoted 9 lines
kernel/trace/ftrace.c +1 -1
@@ -4788,7 +4788,7 @@ ftrace_set_addr(struct ftrace_ops *ops, unsigned long ip, int remove,
  * @reset - non zero to reset all filters before applying this filter.
  *
  * Filters denote which functions should be enabled when tracing is enabled
- * If @ip is NULL, it failes to update filter.
+ * If @ip is NULL, it fails to update filter.
  */
 int ftrace_set_filter_ip(struct ftrace_ops *ops, unsigned long ip,
 			 int remove, int reset)

Perhaps fix it treewide?

Quoted 4 lines
Quoted 2 lines
$ git grep -w -i failes | wc -l
8

I sent patches to the respective maintainers for all of these.

Great, thank you.

maintainer Acked-by on v1 1/1
#4 lore raw
In reply to Thadeu Lima de Souza Cascardo
Quoted 1 line · On Thu, 31 May 2018 09:17:01 -0300 Thadeu Lima de Souza Cascardo…

-- Steve

Quoted 17 lines
---
 kernel/trace/ftrace.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/trace/ftrace.c +1 -1
index 8d83bcf9ef69..b218cee1f18c 100644
@@ -4788,7 +4788,7 @@ ftrace_set_addr(struct ftrace_ops *ops, unsigned long ip, int remove,
  * @reset - non zero to reset all filters before applying this filter.
  *
  * Filters denote which functions should be enabled when tracing is enabled
- * If @ip is NULL, it failes to update filter.
+ * If @ip is NULL, it fails to update filter.
  */
 int ftrace_set_filter_ip(struct ftrace_ops *ops, unsigned long ip,
 			 int remove, int reset)