tree:
https://github.com/0day-ci/linux/commits/UPDATE-20210116-045420/Tony-Luck...
head: 12eccb268478ec9d85f923d1537aa264e45efd68
commit: 12eccb268478ec9d85f923d1537aa264e45efd68 x86/mce: Avoid infinite loop for copy
from user recovery
date: 3 hours ago
config: x86_64-randconfig-r014-20210115 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
5b42fd8dd4e7e29125a09a41a33af7c9cb57d144)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
#
https://github.com/0day-ci/linux/commit/12eccb268478ec9d85f923d1537aa264e...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
UPDATE-20210116-045420/Tony-Luck/x86-mce-Avoid-infinite-loop-for-copy-from-user-recovery/20210115-113535
git checkout 12eccb268478ec9d85f923d1537aa264e45efd68
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> arch/x86/kernel/cpu/mce/core.c:1253:2: error: use of undeclared
identifier 'p'
p->mce_count = 0;
^
1 error generated.
vim +/p +1253 arch/x86/kernel/cpu/mce/core.c
1250
1251 static void kill_me_now(struct callback_head *ch)
1252 {
1253 p->mce_count = 0;
1254 force_sig(SIGBUS);
1255 }
1256
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org