From: kernel test robot <lkp@intel.com>
To: Anup Patel <anup.patel@wdc.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [avpatel:riscv_kvm_aia_v1 38/40] include/linux/irqchip/riscv-imsic.h:64:17: error: 'ENODEV' undeclared
Date: Tue, 7 Dec 2021 03:22:22 +0800 [thread overview]
Message-ID: <202112070342.KsbYSlGb-lkp@intel.com> (raw)
tree: https://github.com/avpatel/linux.git riscv_kvm_aia_v1
head: eb55ca3817a59020fc1e3d5a5de0a5adcebbedd0
commit: c72c5647e9ebb7176ee3862a1ca95bcd3bdfe71b [38/40] RISC-V: KVM: Implement device interface for AIA irqchip
config: riscv-randconfig-r042-20211206 (https://download.01.org/0day-ci/archive/20211207/202112070342.KsbYSlGb-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 11.2.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/c72c5647e9ebb7176ee3862a1ca95bcd3bdfe71b
git remote add avpatel https://github.com/avpatel/linux.git
git fetch --no-tags avpatel riscv_kvm_aia_v1
git checkout c72c5647e9ebb7176ee3862a1ca95bcd3bdfe71b
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.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_device.c:10:
include/linux/irqchip/riscv-imsic.h: In function 'imsic_cpu_page_phys':
>> include/linux/irqchip/riscv-imsic.h:64:17: error: 'ENODEV' undeclared (first use in this function)
64 | return -ENODEV;
| ^~~~~~
include/linux/irqchip/riscv-imsic.h:64:17: note: each undeclared identifier is reported only once for each function it appears in
vim +/ENODEV +64 include/linux/irqchip/riscv-imsic.h
2ad4dc808c3e01 Anup Patel 2021-04-26 59
2ad4dc808c3e01 Anup Patel 2021-04-26 60 static inline int imsic_cpu_page_phys(unsigned int cpu,
2ad4dc808c3e01 Anup Patel 2021-04-26 61 unsigned int guest_index,
2ad4dc808c3e01 Anup Patel 2021-04-26 62 phys_addr_t *out_msi_pa)
2ad4dc808c3e01 Anup Patel 2021-04-26 63 {
2ad4dc808c3e01 Anup Patel 2021-04-26 @64 return -ENODEV;
2ad4dc808c3e01 Anup Patel 2021-04-26 65 }
2ad4dc808c3e01 Anup Patel 2021-04-26 66
:::::: The code at line 64 was first introduced by commit
:::::: 2ad4dc808c3e0175e4975b41cecbb996ee217731 irqchip: Add 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
reply other threads:[~2021-12-06 19:23 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=202112070342.KsbYSlGb-lkp@intel.com \
--to=lkp@intel.com \
--cc=anup.patel@wdc.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®