[for-linus][PATCH 13/15] ftrace: Format variable declarations of ftrace_allocate_records
From: Steven Rostedt
Date: Tue Oct 06 2020 - 10:35:45 EST
From: "Steven Rostedt (VMware)" <rostedt@xxxxxxxxxxx>
I hate when unrelated variables are declared on the same line.
Split them.
Signed-off-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>
---
kernel/trace/ftrace.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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;
--
2.28.0