Skip to content

Commit

Permalink
tracing/osnoise: Make osnoise_instances static
Browse files Browse the repository at this point in the history
Make the struct list_head osnoise_instances definition static.

Link: https://lore.kernel.org/all/[email protected]/
Link: https://lkml.kernel.org/r/d001f0eeac66e2b2eeec7d2a15e9e7abede0453a.1636667971.git.bristot@kernel.org

Cc: Ingo Molnar <[email protected]>
Fixes: dae1813 ("tracing/osnoise: Support a list of trace_array *tr")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Daniel Bristot de Oliveira <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
  • Loading branch information
Daniel Bristot de Oliveira authored and rostedt committed Nov 12, 2021
1 parent 2e6e905 commit d7458bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kernel/trace/trace_osnoise.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ struct osnoise_instance {
struct list_head list;
struct trace_array *tr;
};
struct list_head osnoise_instances;

static struct list_head osnoise_instances;

static bool osnoise_has_registered_instances(void)
{
Expand Down

0 comments on commit d7458bc

Please sign in to comment.