mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 04:31:50 +00:00
tracing/osnoise: Make osnoise_instances static
Make the struct list_head osnoise_instances definition static.
Link: https://lore.kernel.org/all/202111120052.ZuikQSJi-lkp@intel.com/
Link: https://lkml.kernel.org/r/d001f0eeac66e2b2eeec7d2a15e9e7abede0453a.1636667971.git.bristot@kernel.org
Cc: Ingo Molnar <mingo@redhat.com>
Fixes: dae181349f
("tracing/osnoise: Support a list of trace_array *tr")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
This commit is contained in:
parent
2e6e9058d1
commit
d7458bc0d8
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user