From: kbuild test robot <lkp@intel.com>
To: Al Viro <viro@zeniv.linux.org.uk>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
linux-fsdevel@vger.kernel.org
Subject: [vfs:work.regset 9/9] arch/s390/kernel/ptrace.c:1441:14: error: use of undeclared identifier 'n'
Date: Thu, 14 May 2020 05:02:14 +0800 [thread overview]
Message-ID: <202005140511.5EgKmZZt%lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2020-05-13 21:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202005140511.5EgKmZZt%lkp@intel.com \
--to=lkp@intel.com \
--cc=clang-built-linux@googlegroups.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).