Re: [PATCH] x86/kernel: Add generic handler for NMI events
From: kbuild test robot
Date: Sun May 28 2017 - 08:48:00 EST
Hi Adrien,
[auto build test ERROR on tip/auto-latest]
[also build test ERROR on v4.12-rc2 next-20170526]
[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/Adrien-Mahieux/x86-kernel-Add-generic-handler-for-NMI-events/20170527-232216
config: x86_64-randconfig-b0-05281932 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
arch/x86/kernel/nmimgr.c: In function 'nmimgr_handle':
>> arch/x86/kernel/nmimgr.c:183: error: 'x86_platform' undeclared (first use in this function)
arch/x86/kernel/nmimgr.c:183: error: (Each undeclared identifier is reported only once
arch/x86/kernel/nmimgr.c:183: error: for each function it appears in.)
vim +/x86_platform +183 arch/x86/kernel/nmimgr.c
177
178 /***** Kernel 3.2+ ***********************************************************/
179 #else
180
181 static int nmimgr_handle(unsigned int type, struct pt_regs *regs)
182 {
> 183 return __nmimgr_handle(type, x86_platform.get_nmi_reason(), regs);
184 }
185
186
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip