Messages in this thread Patch in this message | | | Date | Sat, 4 Dec 2021 22:43:05 +0800 | From | kernel test robot <> | Subject | [RFC PATCH rt-devel] softirq: timer_threads can be static |
| |
kernel/softirq.c:1031:27: warning: symbol 'timer_threads' was not declared. Should it be static?
Fixes: 87b7f9e13d14 ("softirq: Use a dedicated thread for timer wakeups.") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: kernel test robot <lkp@intel.com> --- softirq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/softirq.c b/kernel/softirq.c index e49fcdea145d8..0d1cc191e4f41 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c @@ -1028,7 +1028,7 @@ void raise_timer_softirq(void) } #endif -struct smp_hotplug_thread timer_threads = { +static struct smp_hotplug_thread timer_threads = { .store = &timersd, .setup = timersd_setup, .thread_should_run = timersd_should_run,
| |