* [avpatel:riscv_kvm_aia_csr_v4 19/20] arch/riscv/kvm/aia.c:67:3: error: expected ')'
@ 2023-04-08 3:38 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-04-08 3:38 UTC (permalink / raw)
To: Anup Patel; +Cc: llvm, oe-kbuild-all, Andrew Jones
tree: https://github.com/avpatel/linux.git riscv_kvm_aia_csr_v4
head: 10a633664c6222e488f960ad5e20823853c085e0
commit: 07b94e72a68ca6f3ea93dbc2e419de440467bd35 [19/20] RISC-V: KVM: Virtualize per-HART AIA CSRs
config: riscv-rv32_defconfig (https://download.01.org/0day-ci/archive/20230408/202304081121.tuXRhkCT-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 2c57868e2e877f73c339796c3374ae660bb77f0d)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv-linux-gnu
# https://github.com/avpatel/linux/commit/07b94e72a68ca6f3ea93dbc2e419de440467bd35
git remote add avpatel https://github.com/avpatel/linux.git
git fetch --no-tags avpatel riscv_kvm_aia_csr_v4
git checkout 07b94e72a68ca6f3ea93dbc2e419de440467bd35
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash arch/riscv/kvm/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304081121.tuXRhkCT-lkp@intel.com/
All errors (new ones prefixed by >>):
>> arch/riscv/kvm/aia.c:67:3: error: expected ')'
return true;
^
arch/riscv/kvm/aia.c:65:5: note: to match this '('
if (READ_ONCE(vcpu->arch.irqs_pending[1]) &
^
1 error generated.
vim +67 arch/riscv/kvm/aia.c
56
57 bool kvm_riscv_vcpu_aia_has_interrupts(struct kvm_vcpu *vcpu, u64 mask)
58 {
59 unsigned long seip;
60
61 if (!kvm_riscv_aia_available())
62 return false;
63
64 #ifdef CONFIG_32BIT
65 if (READ_ONCE(vcpu->arch.irqs_pending[1]) &
66 (vcpu->arch.aia_context.guest_csr.vsieh & upper_32_bits(mask))
> 67 return true;
68 #endif
69
70 seip = vcpu->arch.guest_csr.vsie;
71 seip &= (unsigned long)mask;
72 seip &= BIT(IRQ_S_EXT);
73
74 if (!kvm_riscv_aia_initialized(vcpu->kvm) || !seip)
75 return false;
76
77 return false;
78 }
79
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-08 3:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-08 3:38 [avpatel:riscv_kvm_aia_csr_v4 19/20] arch/riscv/kvm/aia.c:67:3: error: expected ')' 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).