tree: https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.regset head: 138d089e6e8405365b245811afb7401091629edd commit: 138d089e6e8405365b245811afb7401091629edd [9/9] s390: switch to ->get2() config: s390-randconfig-r025-20200513 (attached as .config) compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 310d32cb80a611e6384a921e85607fea05841f26) reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install s390 cross compiling tool for clang build # apt-get install binutils-s390-linux-gnu git checkout 138d089e6e8405365b245811afb7401091629edd # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390 If you fix the issue, kindly add following tag as appropriate Reported-by: kbuild test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): >> arch/s390/kernel/ptrace.c:1441:14: error: use of undeclared identifier 'n' for (i = 0; n < NUM_GPRS; i++, gprs_high += 2) ^ 1 error generated. vim +/n +1441 arch/s390/kernel/ptrace.c 1432 1433 static int s390_compat_regs_high_get(struct task_struct *target, 1434 const struct user_regset *regset, 1435 struct membuf to) 1436 { 1437 compat_ulong_t *gprs_high; 1438 int i; 1439 1440 gprs_high = (compat_ulong_t *)task_pt_regs(target)->gprs; > 1441 for (i = 0; n < NUM_GPRS; i++, gprs_high += 2) 1442 membuf_store(&to, *gprs_high); 1443 return 0; 1444 } 1445 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip