Re: [PATCH v3 09/17] riscv: kvm: Use generated instruction headers for csr code

Nam Cao <[email protected]>
Newsgroups org.kernel.vger.linux-kselftest,org.infradead.lists.kvm-riscv,org.infradead.lists.linux-riscv,org.kernel.vger.kvm,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Charlie Jenkins <[email protected]> writes:
> +		wr_mask = GET_REG(riscv_insn_csrrwi_extract_imm(insn));

  CC      arch/riscv/kvm/vcpu_insn.o
arch/riscv/kvm/vcpu_insn.c: In function ‘csr_insn’:
arch/riscv/kvm/vcpu_insn.c:186:27: error: implicit declaration of function ‘GET_REG’; did you mean ‘ET_REL’? [-Wimplicit-function-declaration]
  186 |                 wr_mask = GET_REG(riscv_insn_csrrwi_extract_imm(insn));
      |                           ^~~~~~~
      |                           ET_REL
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.