Re: [PATCH v4 2/5] clockevents: Add timed freeze

From: kbuild test robot
Date: Sat Jun 11 2016 - 12:46:27 EST


Hi,

[auto build test ERROR on pm/linux-next]
[also build test ERROR on v4.7-rc2 next-20160609]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/dbasehore-chromium-org/Add-suspend-to-idle-validation-for-Intel-SoCs/20160610-053246
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: i386-randconfig-h0-06112342 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

>> kernel/time/clockevents.c:403:5: error: redefinition of 'timed_freeze'
int timed_freeze(struct timed_freeze_ops *ops, void *data, ktime_t delta)
^~~~~~~~~~~~
In file included from kernel/time/clockevents.c:20:0:
include/linux/suspend.h:291:19: note: previous definition of 'timed_freeze' was here
static inline int timed_freeze(struct timed_freeze_ops *ops, void *data,
^~~~~~~~~~~~

vim +/timed_freeze +403 kernel/time/clockevents.c

397 *
398 * Returns the value from ops->enter_freeze or ops->callback on success, -EERROR
399 * otherwise. If an error is encountered while setting up the clock event,
400 * freeze with still be entered, but it will not be timed nor will the callback
401 * function be run.
402 */
> 403 int timed_freeze(struct timed_freeze_ops *ops, void *data, ktime_t delta)
404 {
405 int cpu = smp_processor_id();
406 struct tick_device *td = tick_get_device(cpu);

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data