]> git.ipfire.org Git - thirdparty/linux.git/commit
tracing/branch: Use pr_warn() instead of printk(KERN_WARNING)
authorYu Peng <pengyu@kylinos.cn>
Tue, 19 May 2026 08:16:20 +0000 (16:16 +0800)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 21 May 2026 22:03:08 +0000 (18:03 -0400)
commit5ec75d6a1b5b8beebea3bcaa85baad295ee09dcb
tree1076a0a5c041123d451f897989588f7b2116ddf2
parentbb4613842e8033a714bacf3b62cc70638926cdcf
tracing/branch: Use pr_warn() instead of printk(KERN_WARNING)

Use pr_warn() instead of printk(KERN_WARNING ...) for the branch tracer
warning messages.

Keep the message text unchanged. The change only removes the open-coded
log level from these warnings.

Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://patch.msgid.link/20260519081620.3874441-1-pengyu@kylinos.cn
Signed-off-by: Yu Peng <pengyu@kylinos.cn>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace_branch.c