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: 31 hours ago
config: x86_64-rhel-7.6-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
#
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
make W=1 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: In function 'kill_me_now':
> arch/x86/kernel/cpu/mce/core.c:1253:2: error: 'p'
undeclared (first use in this function); did you mean 'up'?
1253 |
p->mce_count = 0;
| ^
| up
arch/x86/kernel/cpu/mce/core.c:1253:2: note: each undeclared identifier is reported
only once for each function it appears in
vim +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