tracing/osnoise: Make osnoise_options static
authorDaniel Bristot de Oliveira <bristot@kernel.org>
Mon, 5 Dec 2022 08:27:38 +0000 (09:27 +0100)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Sat, 10 Dec 2022 18:36:04 +0000 (13:36 -0500)
Make osnoise_options static, as reported by the kernel test robot.

Link: https://lkml.kernel.org/r/63255826485400d7a2270e9c5e66111079671e7a.1670228712.git.bristot@kernel.org
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>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/trace_osnoise.c

index 3f10dd1f2f1ceda6b7ac408cb4c779eda731efa7..8ba82c71268f75a5a4af106483778baf41654687 100644 (file)
@@ -59,8 +59,8 @@ enum osnoise_options_index {
 
 static const char * const osnoise_options_str[OSN_MAX] = { "DEFAULTS", "OSNOISE_WORKLOAD" };
 
-#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.