tracing/osnoise: Make osnoise_options static
Commit Message
Make osnoise_options static, as reported by the kernel test robot.
Reported-by: kernel test robot <lkp@intel.com>
Cc: Daniel Bristot de Oliveira <bristot@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
---
kernel/trace/trace_osnoise.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
@@ -67,8 +67,8 @@ static const char * const osnoise_options_str[OSN_MAX] = {
"OSNOISE_PREEMPT_DISABLE",
"OSNOISE_IRQ_DISABLE" };
-#define OSN_DEFAULT_OPTIONS 0x2
-unsigned long osnoise_options = OSN_DEFAULT_OPTIONS;
+#define OSN_DEFAULT_OPTIONS 0x2
+static unsigned long osnoise_options = OSN_DEFAULT_OPTIONS;
/*
* trace_array of the enabled osnoise/timerlat instances.