From: kernel test robot <lkp@intel.com>
To: Anup Patel <apatel@ventanamicro.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Andrew Jones <ajones@ventanamicro.com>
Subject: [avpatel:riscv_kvm_aia_csr_v4 19/20] arch/riscv/kvm/aia.c:67:3: error: expected ')'
Date: Sat, 8 Apr 2023 11:38:18 +0800 [thread overview]
Message-ID: <202304081121.tuXRhkCT-lkp@intel.com> (raw)
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
reply other threads:[~2023-04-08 3:38 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=202304081121.tuXRhkCT-lkp@intel.com \
--to=lkp@intel.com \
--cc=ajones@ventanamicro.com \
--cc=apatel@ventanamicro.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.