From: kernel test robot <lkp@intel.com>
To: Anup Patel <anup.patel@wdc.com>
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [avpatel:riscv_kvm_aia_v1 39/41] include/linux/irqchip/riscv-imsic.h:61:10: error: use of undeclared identifier 'ENODEV'
Date: Thu, 12 Aug 2021 04:17:21 +0800 [thread overview]
Message-ID: <202108120414.tsIdJP80-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2304 bytes --]
tree: https://github.com/avpatel/linux.git riscv_kvm_aia_v1
head: 9a2d1d388df8ab52feb55ad9ef378b083fdab478
commit: 3239d0fad48d4b7fab5b275cef7889fac99f53ca [39/41] RISC-V: KVM: Initial skeletal support for in-kernel AIA irqchip
config: riscv-randconfig-r022-20210810 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project d39ebdae674c8efc84ebe8dc32716ec353220530)
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/3239d0fad48d4b7fab5b275cef7889fac99f53ca
git remote add avpatel https://github.com/avpatel/linux.git
git fetch --no-tags avpatel riscv_kvm_aia_v1
git checkout 3239d0fad48d4b7fab5b275cef7889fac99f53ca
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang 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:61:10: error: use of undeclared identifier 'ENODEV'
return -ENODEV;
^
1 error generated.
vim +/ENODEV +61 include/linux/irqchip/riscv-imsic.h
b6d8139e22dcf8 Anup Patel 2021-04-26 56
b6d8139e22dcf8 Anup Patel 2021-04-26 57 static inline int imsic_cpu_page_phys(unsigned int cpu,
b6d8139e22dcf8 Anup Patel 2021-04-26 58 unsigned int guest_index,
b6d8139e22dcf8 Anup Patel 2021-04-26 59 phys_addr_t *out_msi_pa)
b6d8139e22dcf8 Anup Patel 2021-04-26 60 {
b6d8139e22dcf8 Anup Patel 2021-04-26 @61 return -ENODEV;
b6d8139e22dcf8 Anup Patel 2021-04-26 62 }
b6d8139e22dcf8 Anup Patel 2021-04-26 63
:::::: The code at line 61 was first introduced by commit
:::::: b6d8139e22dcf8bcfe9a4c89b1dde6c59591eab8 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: 28326 bytes --]
reply other threads:[~2021-08-11 20:17 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=202108120414.tsIdJP80-lkp@intel.com \
--to=lkp@intel.com \
--cc=anup.patel@wdc.com \
--cc=clang-built-linux@googlegroups.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