projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b40c6ea
)
ftrace: Format variable declarations of ftrace_allocate_records
author
Steven Rostedt (VMware)
<rostedt@goodmis.org>
Tue, 6 Oct 2020 00:37:41 +0000
(20:37 -0400)
committer
Steven Rostedt (VMware)
<rostedt@goodmis.org>
Thu, 8 Oct 2020 19:29:06 +0000
(15:29 -0400)
I hate when unrelated variables are declared on the same line.
Split them.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/ftrace.c
patch
|
blob
|
history
diff --git
a/kernel/trace/ftrace.c
b/kernel/trace/ftrace.c
index
c3be18b
..
4833b6a
100644
(file)
--- a/
kernel/trace/ftrace.c
+++ b/
kernel/trace/ftrace.c
@@
-3129,7
+3129,8
@@
static int ftrace_update_code(struct module *mod, struct ftrace_page *new_pgs)
static int ftrace_allocate_records(struct ftrace_page *pg, int count)
{
int order;
- int pages, cnt;
+ int pages;
+ int cnt;
if (WARN_ON(!count))
return -EINVAL;