Skip to content

Commit bbaacdc

Browse files
glemcorostedt
authored andcommitted
rv: Fix compilation if !CONFIG_RV_REACTORS
The kernel test robot spotted a compilation error if reactors are disabled. Fix the warning by keeping LTL monitor variable as always static. Cc: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Link: https://patch.msgid.link/20251113150618.185479-2-gmonaco@redhat.com Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202511131948.vxi5mdjU-lkp@intel.com/ Fixes: 4f739ed ("rv: Pass va_list to reactors") Signed-off-by: Gabriele Monaco <gmonaco@redhat.com> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
1 parent b30f635 commit bbaacdc

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

include/rv/ltl_monitor.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,7 @@
1717
#endif
1818

1919
#define RV_MONITOR_NAME CONCATENATE(rv_, MONITOR_NAME)
20-
21-
#ifdef CONFIG_RV_REACTORS
2220
static struct rv_monitor RV_MONITOR_NAME;
23-
#else
24-
extern struct rv_monitor RV_MONITOR_NAME;
25-
#endif
2621

2722
static int ltl_monitor_slot = RV_PER_TASK_MONITOR_INIT;
2823

0 commit comments

Comments
 (0)