diff options
author | Anup Patel <apatel@ventanamicro.com> | 2023-09-18 11:58:29 +0530 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2023-09-21 15:04:01 +0530 |
commit | 17f71a2a340f1dcd397a66110005722177d5927c (patch) | |
tree | 3ad81bb41e6ba2356ec0ec6e4e8f3100af165b26 /lib/crypto/mpi/mpi-inline.h | |
parent | ef4d48368587f27cb1f690691518889d8fb3510b (diff) |
RISC-V: KVM: Fix riscv_vcpu_get_isa_ext_single() for missing extensions
The riscv_vcpu_get_isa_ext_single() should fail with -ENOENT error
when corresponding ISA extension is not available on the host.
Fixes: e98b1085be79 ("RISC-V: KVM: Factor-out ONE_REG related code to its own source file")
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/crypto/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions