[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201912091955.nQhXjzs1%lkp@intel.com>
Date: Mon, 9 Dec 2019 19:16:10 +0800
From: kbuild test robot <lkp@...el.com>
To: Sven Schnelle <svens@...ckframe.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Helge Deller <deller@....de>
Subject: include/linux/kexec.h:33:2: error: #error KEXEC_SOURCE_MEMORY_LIMIT
not defined
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: e42617b825f8073569da76dc4510bfa019b1c35a
commit: 1191cf4986b5e8008c615896e487dc35fe922acd parisc: add support for kexec_file_load() syscall
date: 3 months ago
config: parisc-randconfig-a001-20191209 (attached as .config)
compiler: hppa-linux-gcc (GCC) 7.5.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 1191cf4986b5e8008c615896e487dc35fe922acd
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=parisc
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
In file included from include/linux/crash_dump.h:5:0,
from drivers/net/ethernet/cisco/enic/enic_main.c:46:
>> include/linux/kexec.h:33:2: error: #error KEXEC_SOURCE_MEMORY_LIMIT not defined
#error KEXEC_SOURCE_MEMORY_LIMIT not defined
^~~~~
>> include/linux/kexec.h:37:2: error: #error KEXEC_DESTINATION_MEMORY_LIMIT not defined
#error KEXEC_DESTINATION_MEMORY_LIMIT not defined
^~~~~
>> include/linux/kexec.h:41:2: error: #error KEXEC_CONTROL_MEMORY_LIMIT not defined
#error KEXEC_CONTROL_MEMORY_LIMIT not defined
^~~~~
>> include/linux/kexec.h:49:2: error: #error KEXEC_CONTROL_PAGE_SIZE not defined
#error KEXEC_CONTROL_PAGE_SIZE not defined
^~~~~
>> include/linux/kexec.h:53:2: error: #error KEXEC_ARCH not defined
#error KEXEC_ARCH not defined
^~~~~
vim +33 include/linux/kexec.h
dc009d92435f99 Eric W. Biederman 2005-06-25 31
dc009d92435f99 Eric W. Biederman 2005-06-25 32 #ifndef KEXEC_SOURCE_MEMORY_LIMIT
dc009d92435f99 Eric W. Biederman 2005-06-25 @33 #error KEXEC_SOURCE_MEMORY_LIMIT not defined
dc009d92435f99 Eric W. Biederman 2005-06-25 34 #endif
dc009d92435f99 Eric W. Biederman 2005-06-25 35
dc009d92435f99 Eric W. Biederman 2005-06-25 36 #ifndef KEXEC_DESTINATION_MEMORY_LIMIT
dc009d92435f99 Eric W. Biederman 2005-06-25 @37 #error KEXEC_DESTINATION_MEMORY_LIMIT not defined
dc009d92435f99 Eric W. Biederman 2005-06-25 38 #endif
dc009d92435f99 Eric W. Biederman 2005-06-25 39
dc009d92435f99 Eric W. Biederman 2005-06-25 40 #ifndef KEXEC_CONTROL_MEMORY_LIMIT
dc009d92435f99 Eric W. Biederman 2005-06-25 @41 #error KEXEC_CONTROL_MEMORY_LIMIT not defined
dc009d92435f99 Eric W. Biederman 2005-06-25 42 #endif
dc009d92435f99 Eric W. Biederman 2005-06-25 43
7e01b5acd88b3f Martin Schwidefsky 2015-04-16 44 #ifndef KEXEC_CONTROL_MEMORY_GFP
dc5cccacf4272d Russell King 2016-08-02 45 #define KEXEC_CONTROL_MEMORY_GFP (GFP_KERNEL | __GFP_NORETRY)
7e01b5acd88b3f Martin Schwidefsky 2015-04-16 46 #endif
7e01b5acd88b3f Martin Schwidefsky 2015-04-16 47
163f6876f5c3ff Huang Ying 2008-08-15 48 #ifndef KEXEC_CONTROL_PAGE_SIZE
163f6876f5c3ff Huang Ying 2008-08-15 @49 #error KEXEC_CONTROL_PAGE_SIZE not defined
dc009d92435f99 Eric W. Biederman 2005-06-25 50 #endif
dc009d92435f99 Eric W. Biederman 2005-06-25 51
dc009d92435f99 Eric W. Biederman 2005-06-25 52 #ifndef KEXEC_ARCH
dc009d92435f99 Eric W. Biederman 2005-06-25 @53 #error KEXEC_ARCH not defined
dc009d92435f99 Eric W. Biederman 2005-06-25 54 #endif
dc009d92435f99 Eric W. Biederman 2005-06-25 55
:::::: The code at line 33 was first introduced by commit
:::::: dc009d92435f99498cbc579ce76bf28e837e2c14 [PATCH] kexec: add kexec syscalls
:::::: TO: Eric W. Biederman <ebiederm@...ssion.com>
:::::: CC: Linus Torvalds <torvalds@...970.osdl.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (27010 bytes)
Powered by blists - more mailing lists