mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-22 07:27:12 +08:00
tracing: Fix indentation of return statement in print_trace_fmt()
The return statement inside the nested if block in print_trace_fmt() is not properly indented, making the code structure unclear. This was flagged by smatch as a warning. Add proper indentation to the return statement to match the kernel coding style and improve readability. Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Link: https://patch.msgid.link/20260210153903.8041-1-tttturtleruss@gmail.com Signed-off-by: Haoyang LIU <tttturtleruss@gmail.com> Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
This commit is contained in:
committed by
Steven Rostedt (Google)
parent
804c4a2209
commit
fa4820b893
@@ -3537,7 +3537,7 @@ static enum print_line_t print_trace_fmt(struct trace_iterator *iter)
|
||||
/* ftrace and system call events are still OK */
|
||||
if ((event->type > __TRACE_LAST_TYPE) &&
|
||||
!is_syscall_event(event))
|
||||
return print_event_fields(iter, event);
|
||||
return print_event_fields(iter, event);
|
||||
}
|
||||
return event->funcs->trace(iter, sym_flags, event);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user