* [linux-next:master 5813/6512] arch/s390/kernel/uv.c:423:44: error: 'prot_virt_host' undeclared; did you mean
@ 2021-03-23 19:41 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-23 19:41 UTC (permalink / raw)
To: Janosch Frank; +Cc: kbuild-all, Linux Memory Management List, Heiko Carstens
[-- Attachment #1: Type: text/plain, Size: 2208 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: d949689e7383cd5271470f2b99dbe2fd3199bffd
commit: 37564ed834aca26993b77b9b2a0119ec1ba6e00c [5813/6512] s390/uv: add prot virt guest/host indication files
config: s390-randconfig-r002-20210323 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=37564ed834aca26993b77b9b2a0119ec1ba6e00c
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 37564ed834aca26993b77b9b2a0119ec1ba6e00c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
arch/s390/kernel/uv.c: In function 'uv_is_prot_virt_host':
>> arch/s390/kernel/uv.c:423:44: error: 'prot_virt_host' undeclared (first use in this function); did you mean 'prot_virt_guest'?
423 | return scnprintf(page, PAGE_SIZE, "%d\n", prot_virt_host);
| ^~~~~~~~~~~~~~
| prot_virt_guest
arch/s390/kernel/uv.c:423:44: note: each undeclared identifier is reported only once for each function it appears in
arch/s390/kernel/uv.c:424:1: error: control reaches end of non-void function [-Werror=return-type]
424 | }
| ^
cc1: some warnings being treated as errors
vim +423 arch/s390/kernel/uv.c
419
420 static ssize_t uv_is_prot_virt_host(struct kobject *kobj,
421 struct kobj_attribute *attr, char *page)
422 {
> 423 return scnprintf(page, PAGE_SIZE, "%d\n", prot_virt_host);
424 }
425
---
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: 20026 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-23 19:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23 19:41 [linux-next:master 5813/6512] arch/s390/kernel/uv.c:423:44: error: 'prot_virt_host' undeclared; did you mean kernel test robot
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).