Re: [PATCH] Support resetting WARN*_ONCE

kbuild test robot
2016-08-03T04:16:27Z

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

Hi Andi,

[auto build test ERROR on asm-generic/master]
[also build test ERROR on v4.7 next-20160802]
[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/Andi-Kleen/Support-resetting-WARN-_ONCE/20160803-112312
base: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git master
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
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/panic.c: In function 'clear_warn_once_set':
>> kernel/panic.c:557:9: error: '__start_once' undeclared (first use in this function)
memset(__start_once, 0, __end_once - __start_once);
^
kernel/panic.c:557:9: note: each undeclared identifier is reported only once for each function it appears in
>> kernel/panic.c:557:26: error: '__end_once' undeclared (first use in this function)
memset(__start_once, 0, __end_once - __start_once);
^

vim +/__start_once +557 kernel/panic.c

551 #endif
552
553 /* Support resetting WARN*_ONCE state */
554
555 static int clear_warn_once_set(void *data, u64 val)
556 {
> 557 memset(__start_once, 0, __end_once - __start_once);
558 return 0;
559 }
560

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 44813 bytes --]