forked from Minki/linux
rv/monitors: Make monitor's automata definition static
Monitor's automata definition is only used locally, so make them static for all existing monitors. Link: https://lore.kernel.org/all/202208210332.gtHXje45-lkp@intel.com Link: https://lore.kernel.org/all/202208210358.6HH3OrVs-lkp@intel.com Link: https://lkml.kernel.org/r/a50e27c3738d6ef809f4201857229fed64799234.1661266564.git.bristot@kernel.org Fixes:ccc319dcb4
("rv/monitor: Add the wwnr monitor") Fixes:8812d21219
("rv/monitor: Add the wip monitor skeleton created by dot2k") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
This commit is contained in:
parent
7e18e42e4b
commit
baf2c00240
@ -27,7 +27,7 @@ struct automaton_wip {
|
||||
bool final_states[state_max_wip];
|
||||
};
|
||||
|
||||
struct automaton_wip automaton_wip = {
|
||||
static struct automaton_wip automaton_wip = {
|
||||
.state_names = {
|
||||
"preemptive",
|
||||
"non_preemptive"
|
||||
|
@ -27,7 +27,7 @@ struct automaton_wwnr {
|
||||
bool final_states[state_max_wwnr];
|
||||
};
|
||||
|
||||
struct automaton_wwnr automaton_wwnr = {
|
||||
static struct automaton_wwnr automaton_wwnr = {
|
||||
.state_names = {
|
||||
"not_running",
|
||||
"running"
|
||||
|
Loading…
Reference in New Issue
Block a user