]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ring-buffer: Make the const read-only 'type' static
authorColin Ian King <colin.i.king@gmail.com>
Mon, 14 Jul 2025 16:08:58 +0000 (17:08 +0100)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 29 Jul 2025 19:08:57 +0000 (15:08 -0400)
commit6443cdf567a900e03afe1d66fb8bcc7dad0835d0
tree5c02b342b3123b58a43e96b8fdba4034f4be4ebc
parent119a5d573622ae90ba730d18acfae9bb75d77b9a
ring-buffer: Make the const read-only 'type' static

Don't populate the read-only 'type' on the stack at run time,
instead make it static.

Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Link: https://lore.kernel.org/20250714160858.1234719-1-colin.i.king@gmail.com
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/ring_buffer.c