]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tracing: Switch trace_recursion_record.c code over to use guard()
authorYash Suthar <yashsuthar983@gmail.com>
Sat, 2 May 2026 17:47:41 +0000 (23:17 +0530)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 21 May 2026 22:03:07 +0000 (18:03 -0400)
commit8a6e9af2fac8cf212f86cff282ae96f6c7d7ca18
treecf9d75e7471ffdc7a4be50b46599a4cf88ae9a29
parent04fcbcf2dfe6a3fadc50b0f925c0b757386b82f8
tracing: Switch trace_recursion_record.c code over to use guard()

Switch mutex_lock()/mutex_unlock() to guard().
also drop the ret local variable and return directly.

Link: https://patch.msgid.link/20260502174741.39636-1-yashsuthar983@gmail.com
Signed-off-by: Yash Suthar <yashsuthar983@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_recursion_record.c