]> git.ipfire.org Git - thirdparty/linux.git/commit
tracing: Fix indentation of return statement in print_trace_fmt()
authorHaoyang LIU <tttturtleruss@gmail.com>
Tue, 10 Feb 2026 15:39:02 +0000 (23:39 +0800)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Thu, 12 Feb 2026 02:58:21 +0000 (21:58 -0500)
commitfa4820b893843f7ad5e1b5c446a92426c5c946ce
tree7f8fb9fbe140745c4b1af45d45e17baeaf53814f
parent804c4a2209bcf6ed4c45386f033e4d0f7c5bfda5
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>
kernel/trace/trace.c