Re: [PATCH 4/5] watchdog: Provide watchdog_reconfigure() for arch watchdogs

kbuild test robot
2017-05-23T14:18:41Z

[-- Attachment #1: Type: text/plain, Size: 1574 bytes --]

Hi Nicholas,

[auto build test WARNING on linus/master]
[also build test WARNING on v4.12-rc2 next-20170523]
[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/Nicholas-Piggin/Improve-watchdog-config-for-arch-watchdogs/20170523-200254
config: tile-tilegx_defconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=tile

All warnings (new ones prefixed by >>):

kernel/watchdog.c: In function 'watchdog_update_cpus':
>> kernel/watchdog.c:632:1: warning: no return statement in function returning non-void [-Wreturn-type]

vim +632 kernel/watchdog.c

616
617 static void watchdog_unpark_threads(void)
618 {
619 }
620
621 static int watchdog_enable_all_cpus(void)
622 {
623 return 0;
624 }
625
626 static void watchdog_disable_all_cpus(void)
627 {
628 }
629
630 static int watchdog_update_cpus(void)
631 {
> 632 }
633
634 static void set_sample_period(void)
635 {
636 }
637 #endif /* SOFTLOCKUP */
638
639 /*
640 * Suspend the hard and soft lockup detector by parking the watchdog threads.

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 16507 bytes --]