Re: [PATCH 3/5] watchdog: Split up config options

From: kbuild test robot
Date: Tue May 23 2017 - 10:42:31 EST


Hi Nicholas,

[auto build test ERROR on linus/master]
[also build test ERROR 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: alpha-allmodconfig (attached as .config)
compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
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=alpha

All errors (new ones prefixed by >>):

In file included from drivers/tty/sysrq.c:31:0:
>> include/linux/nmi.h:10:21: fatal error: asm/nmi.h: No such file or directory
#include <asm/nmi.h>
^
compilation terminated.

vim +10 include/linux/nmi.h

^1da177e Linus Torvalds 2005-04-16 4 #ifndef LINUX_NMI_H
^1da177e Linus Torvalds 2005-04-16 5 #define LINUX_NMI_H
^1da177e Linus Torvalds 2005-04-16 6
9938406a Michal Schmidt 2006-09-29 7 #include <linux/sched.h>
^1da177e Linus Torvalds 2005-04-16 8 #include <asm/irq.h>
d6075be4 Nicholas Piggin 2017-05-22 9 #if defined(CONFIG_HAVE_NMI_WATCHDOG) || defined(CONFIG_HARDLOCKUP_DETECTOR)
d6075be4 Nicholas Piggin 2017-05-22 @10 #include <asm/nmi.h>
d6075be4 Nicholas Piggin 2017-05-22 11 #endif
^1da177e Linus Torvalds 2005-04-16 12
d151b27d Ingo Molnar 2017-02-02 13 #ifdef CONFIG_LOCKUP_DETECTOR

:::::: The code at line 10 was first introduced by commit
:::::: d6075be461c5c70e888e0ea6db700f06f6e03c6e watchdog: Introduce arch_touch_nmi_watchdog()

:::::: TO: Nicholas Piggin <npiggin@xxxxxxxxx>
:::::: CC: 0day robot <fengguang.wu@xxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip