* [tip:timers/core 5/5] kernel/time/tick-broadcast.c:441:6: sparse: symbol 'tick_shutdown_broadcast' was not declared. Should it be static?
@ 2019-03-23 17:04 kbuild test robot
2019-03-23 17:04 ` [RFC PATCH tip] tick: tick_shutdown_broadcast() can be static kbuild test robot
0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2019-03-23 17:04 UTC (permalink / raw)
To: Thomas Gleixner
Cc: kbuild-all, linux-kernel, tipbuild, Frederic Weisbecker, Ingo Molnar
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/core
head: 973f88ca8b159592685b6ccedb0b91db376bf20d
commit: 973f88ca8b159592685b6ccedb0b91db376bf20d [5/5] tick: Remove outgoing CPU from broadcast masks
reproduce:
# apt-get install sparse
git checkout 973f88ca8b159592685b6ccedb0b91db376bf20d
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
sparse warnings: (new ones prefixed by >>)
>> kernel/time/tick-broadcast.c:441:6: sparse: symbol 'tick_shutdown_broadcast' was not declared. Should it be static?
Please review and possibly fold the followup patch.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
^ permalink raw reply [flat|nested] 3+ messages in thread* [RFC PATCH tip] tick: tick_shutdown_broadcast() can be static
2019-03-23 17:04 [tip:timers/core 5/5] kernel/time/tick-broadcast.c:441:6: sparse: symbol 'tick_shutdown_broadcast' was not declared. Should it be static? kbuild test robot
@ 2019-03-23 17:04 ` kbuild test robot
2019-03-23 17:23 ` Thomas Gleixner
0 siblings, 1 reply; 3+ messages in thread
From: kbuild test robot @ 2019-03-23 17:04 UTC (permalink / raw)
To: Thomas Gleixner
Cc: kbuild-all, linux-kernel, tipbuild, Frederic Weisbecker, Ingo Molnar
Fixes: 973f88ca8b15 ("tick: Remove outgoing CPU from broadcast masks")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
tick-broadcast.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/time/tick-broadcast.c b/kernel/time/tick-broadcast.c
index a470519..7141762 100644
--- a/kernel/time/tick-broadcast.c
+++ b/kernel/time/tick-broadcast.c
@@ -438,7 +438,7 @@ void tick_set_periodic_handler(struct clock_event_device *dev, int broadcast)
/*
* Remove a CPU from broadcasting
*/
-void tick_shutdown_broadcast(unsigned int cpu)
+static void tick_shutdown_broadcast(unsigned int cpu)
{
struct clock_event_device *bc;
unsigned long flags;
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-03-23 17:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-23 17:04 [tip:timers/core 5/5] kernel/time/tick-broadcast.c:441:6: sparse: symbol 'tick_shutdown_broadcast' was not declared. Should it be static? kbuild test robot
2019-03-23 17:04 ` [RFC PATCH tip] tick: tick_shutdown_broadcast() can be static kbuild test robot
2019-03-23 17:23 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®