Re: [PATCH] tracing: make tracepoint_printk static as not exported

From: Ben Dooks

Date: Fri Jul 03 2026 - 12:33:22 EST


On 02/07/2026 23:46, Steven Rostedt wrote:
On Wed, 17 Jun 2026 11:58:22 +0100
Ben Dooks <ben.dooks@xxxxxxxxxxxxxxx> wrote:

The tracepoint_printk symbol is not exported, so make it
static to remove the following sparse warning:

kernel/trace/trace.c:90:5: warning: symbol 'tracepoint_printk' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@xxxxxxxxxxxxxxx>

Thanks, this became only used by this file via commit dd293df6395a2
("tracing: Move trace sysctls into trace.c")

I may add a Fixes tag to that commit.

-- Steve

ok, thanks.

--
Ben Dooks http://www.codethink.co.uk/
Senior Engineer Codethink - Providing Genius

https://www.codethink.co.uk/privacy.html