aboutsummaryrefslogtreecommitdiff
path: root/kernel/trace
diff options
context:
space:
mode:
authorSteven Rostedt (VMware)2020-10-05 20:37:41 -0400
committerSteven Rostedt (VMware)2020-10-08 15:29:06 -0400
commit7ba031e8b74c6aa156a0d9867dc13cf817d52047 (patch)
tree8334774328f0b2366aa95c8e8c2b806d9b841dec /kernel/trace
parentb40c6eabfcd409e022fcb377ac268e3ef9446fde (diff)
ftrace: Format variable declarations of ftrace_allocate_records
I hate when unrelated variables are declared on the same line. Split them. Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace')
-rw-r--r--kernel/trace/ftrace.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index c3be18b4f27b..4833b6a82ce7 100644
--- 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;