* [vfs:work.regset 9/9] arch/s390/kernel/ptrace.c:1441:14: error: use of undeclared identifier 'n'
@ 2020-05-13 21:02 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-05-13 21:02 UTC (permalink / raw)
To: Al Viro; +Cc: kbuild-all, clang-built-linux, linux-fsdevel
[-- Attachment #1: Type: text/plain, Size: 1717 bytes --]
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@intel.com>
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@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 23127 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [vfs:work.regset 9/9] arch/s390/kernel/ptrace.c:1441:14: error: use of undeclared identifier 'n'
@ 2020-05-13 21:02 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2020-05-13 21:02 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1761 bytes --]
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@intel.com>
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@lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 23127 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-13 21:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-13 21:02 [vfs:work.regset 9/9] arch/s390/kernel/ptrace.c:1441:14: error: use of undeclared identifier 'n' kbuild test robot
2020-05-13 21:02 ` kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.