tree:
https://github.com/frank-w/BPI-R2-4.14 5.4-wifi
head: d82866fdb13cb0ff8997ea36b19b8967eb8268c7
commit: 29838659c861eff7e42010ee63210dd1a91e3e55 [6/9] [wifi] adding wifi-related changes
outside driver-directory
config: nds32-allyesconfig (attached as .config)
compiler: nds32le-linux-gcc (GCC) 8.1.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 29838659c861eff7e42010ee63210dd1a91e3e55
# save the attached .config to linux build tree
GCC_VERSION=8.1.0 make.cross ARCH=nds32
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/device.h:1337,
from include/linux/platform_device.h:13,
from drivers//watchdog/mtk_wdt.c:33:
include/linux/pm_wakeup.h: In function 'wakeup_source_init':
include/linux/pm_wakeup.h:189:2: error: implicit declaration of function
'wakeup_source_prepare'; did you mean 'wakeup_source_create'?
[-Werror=implicit-function-declaration]
wakeup_source_prepare(ws, name);
^~~~~~~~~~~~~~~~~~~~~
wakeup_source_create
drivers//watchdog/mtk_wdt.c: At top level:
> drivers//watchdog/mtk_wdt.c:48:10: fatal error:
asm/system_misc.h: No such file or directory
#include <asm/system_misc.h>
^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
compilation terminated.
vim +48 drivers//watchdog/mtk_wdt.c
33 #include <linux/platform_device.h>
34 #ifdef
CONFIG_FIQ_GLUE
35 #include <linux/irqchip/mtk-gic-extend.h>
36 #include <mt-plat/aee.h>
37 #endif
38 #include <linux/types.h>
39 #include <linux/watchdog.h>
40 #include <linux/notifier.h>
41 #include <linux/reboot.h>
42 #include <linux/delay.h>
43 #include <linux/reset-controller.h>
44 #include <linux/reset.h>
45 #include <linux/sched.h>
46 #include <linux/sched/debug.h>
47 #include <linux/sched/signal.h>
48 #include <asm/system_misc.h>
49 #include
<linux/seq_file.h>
50 #ifdef CONFIG_MT6397_MISC
51 #include <linux/mfd/mt6397/rtc_misc.h>
52 #endif
53
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation