* [avpatel:riscv_kvm_aia_v1 39/40] include/linux/irqchip/riscv-imsic.h:64:10: error: 'ENODEV' undeclared
@ 2021-08-09 2:34 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-09 2:34 UTC (permalink / raw)
To: Anup Patel; +Cc: kbuild-all, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2443 bytes --]
tree: https://github.com/avpatel/linux.git riscv_kvm_aia_v1
head: 3e9d934981554d13144f834233ff3eab74e3b24f
commit: 87f60ec7e97b42c6f68f226c4262b3a7c87d8200 [39/40] RISC-V: KVM: Initial skeletal support for in-kernel AIA irqchip
config: riscv-randconfig-r032-20210809 (attached as .config)
compiler: riscv32-linux-gcc (GCC) 10.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://github.com/avpatel/linux/commit/87f60ec7e97b42c6f68f226c4262b3a7c87d8200
git remote add avpatel https://github.com/avpatel/linux.git
git fetch --no-tags avpatel riscv_kvm_aia_v1
git checkout 87f60ec7e97b42c6f68f226c4262b3a7c87d8200
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=riscv SHELL=/bin/bash
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 >>):
In file included from arch/riscv/kvm/aia/aia.c:10:
include/linux/irqchip/riscv-imsic.h: In function 'imsic_cpu_page_phys':
>> include/linux/irqchip/riscv-imsic.h:64:10: error: 'ENODEV' undeclared (first use in this function)
64 | return -ENODEV;
| ^~~~~~
include/linux/irqchip/riscv-imsic.h:64:10: note: each undeclared identifier is reported only once for each function it appears in
vim +/ENODEV +64 include/linux/irqchip/riscv-imsic.h
c1f2c918fe8329 Anup Patel 2021-04-26 59
c1f2c918fe8329 Anup Patel 2021-04-26 60 static inline int imsic_cpu_page_phys(unsigned int cpu,
c1f2c918fe8329 Anup Patel 2021-04-26 61 unsigned int guest_index,
c1f2c918fe8329 Anup Patel 2021-04-26 62 phys_addr_t *out_msi_pa)
c1f2c918fe8329 Anup Patel 2021-04-26 63 {
c1f2c918fe8329 Anup Patel 2021-04-26 @64 return -ENODEV;
c1f2c918fe8329 Anup Patel 2021-04-26 65 }
c1f2c918fe8329 Anup Patel 2021-04-26 66
:::::: The code at line 64 was first introduced by commit
:::::: c1f2c918fe8329ad1a78a4937145e52c6491fbfe irqchip: Add RISC-V incoming MSI controller driver
:::::: TO: Anup Patel <anup.patel@wdc.com>
:::::: CC: Anup Patel <anup@brainfault.org>
---
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: 31739 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-09 2:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-09 2:34 [avpatel:riscv_kvm_aia_v1 39/40] include/linux/irqchip/riscv-imsic.h:64:10: error: 'ENODEV' undeclared 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