Skip to content

Commit ec37089

Browse files
Daniel Bristot de Oliveirarostedt
authored andcommitted
tracing/osnoise: Make osnoise_options static
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 <[email protected]> Cc: Daniel Bristot de Oliveira <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Masami Hiramatsu <[email protected]> Signed-off-by: Daniel Bristot de Oliveira <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
1 parent 98629da commit ec37089

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/trace/trace_osnoise.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ enum osnoise_options_index {
5959

6060
static const char * const osnoise_options_str[OSN_MAX] = { "DEFAULTS", "OSNOISE_WORKLOAD" };
6161

62-
#define OSN_DEFAULT_OPTIONS 0x2
63-
unsigned long osnoise_options = OSN_DEFAULT_OPTIONS;
62+
#define OSN_DEFAULT_OPTIONS 0x2
63+
static unsigned long osnoise_options = OSN_DEFAULT_OPTIONS;
6464

6565
/*
6666
* trace_array of the enabled osnoise/timerlat instances.

0 commit comments

Comments
 (0)