[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20211204144304.GA11849@ce7bf8684400>
Date: Sat, 4 Dec 2021 22:43:05 +0800
From: kernel test robot <lkp@...el.com>
To: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
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@...el.com>
Signed-off-by: kernel test robot <lkp@...el.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,
Powered by blists - more mailing lists