Re: [PATCH] clocksource: Allow unregistering the watchdog

From: kbuild test robot
Date: Fri Jan 22 2016 - 12:13:32 EST


Hi Vitaly,

[auto build test ERROR on tip/timers/core]
[also build test ERROR on v4.4 next-20160122]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Vitaly-Kuznetsov/clocksource-Allow-unregistering-the-watchdog/20160123-010529
config: xtensa-allyesconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=xtensa

All errors (new ones prefixed by >>):

kernel/time/clocksource.c: In function '__clocksource_register_scale':
>> kernel/time/clocksource.c:769:2: error: implicit declaration of function 'clocksource_select_watchdog' [-Werror=implicit-function-declaration]
clocksource_select_watchdog(false);
^
cc1: some warnings being treated as errors

vim +/clocksource_select_watchdog +769 kernel/time/clocksource.c

763
764 /* Add clocksource to the clocksource list */
765 mutex_lock(&clocksource_mutex);
766 clocksource_enqueue(cs);
767 clocksource_enqueue_watchdog(cs);
768 clocksource_select();
> 769 clocksource_select_watchdog(false);
770 mutex_unlock(&clocksource_mutex);
771 return 0;
772 }

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

Attachment: .config.gz
Description: Binary data