tree:
https://github.com/ihalip/linux KSPP20
head: 46737ae62cb70f8b1380f232f9ca908868c21521
commit: 46737ae62cb70f8b1380f232f9ca908868c21521 [1/1] tidy: all
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
git checkout 46737ae62cb70f8b1380f232f9ca908868c21521
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> arch/x86/kvm/svm/svm.c:117:13: error: static declaration of
'npt_enabled' follows non-static declaration
static bool npt_enabled
__ro_after_init;
^~~~~~~~~~~
In file included from arch/x86/kvm/svm/svm.c:42:0:
arch/x86/kvm/svm/svm.h:36:13: note: previous declaration of 'npt_enabled' was
here
extern bool npt_enabled;
^~~~~~~~~~~
vim +/npt_enabled +117 arch/x86/kvm/svm/svm.c
112
113 /* enable NPT for AMD64 and X86 with PAE */
114 #if defined(CONFIG_X86_64) || defined(CONFIG_X86_PAE)
115 static bool npt_enabled __ro_after_init = true;
116 #else
117 static bool npt_enabled __ro_after_init;
118 #endif
119
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org