[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201703180149.moAGX6B8%fengguang.wu@intel.com>
Date: Sat, 18 Mar 2017 01:38:53 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Stephen Boyd <sboyd@...eaurora.org>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org,
tipbuild@...or.com, Thomas Gleixner <tglx@...utronix.de>
Subject: [tip:timers/core 3/3] kernel/time/tick-broadcast.c:155:13: warning:
'tick_broadcast_setup_oneshot' used but never defined
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/core
head: f5e38e7c86427bd7c01b259a9655cb6a9aba5cb7
commit: f5e38e7c86427bd7c01b259a9655cb6a9aba5cb7 [3/3] tick/broadcast: Make tick_broadcast_setup_oneshot() static
config: x86_64-randconfig-x012-201711 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout f5e38e7c86427bd7c01b259a9655cb6a9aba5cb7
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
>> kernel/time/tick-broadcast.c:155:13: warning: 'tick_broadcast_setup_oneshot' used but never defined
static void tick_broadcast_setup_oneshot(struct clock_event_device *bc);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/tick_broadcast_setup_oneshot +155 kernel/time/tick-broadcast.c
139 static void err_broadcast(const struct cpumask *mask)
140 {
141 pr_crit_once("Failed to broadcast timer tick. Some CPUs may be unresponsive.\n");
142 }
143
144 static void tick_device_setup_broadcast_func(struct clock_event_device *dev)
145 {
146 if (!dev->broadcast)
147 dev->broadcast = tick_broadcast;
148 if (!dev->broadcast) {
149 pr_warn_once("%s depends on broadcast, but no broadcast function available\n",
150 dev->name);
151 dev->broadcast = err_broadcast;
152 }
153 }
154
> 155 static void tick_broadcast_setup_oneshot(struct clock_event_device *bc);
156
157 /*
158 * Check, if the device is disfunctional and a place holder, which
159 * needs to be handled by the broadcast device.
160 */
161 int tick_device_uses_broadcast(struct clock_event_device *dev, int cpu)
162 {
163 struct clock_event_device *bc = tick_broadcast_device.evtdev;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (31096 bytes)
Powered by blists - more mailing lists