summaryrefslogtreecommitdiff
path: root/arch/m68k/include
diff options
context:
space:
mode:
authorQuan Zhou <zhouquan@iscas.ac.cn>2024-05-23 05:13:34 +0300
committerAnup Patel <anup@brainfault.org>2024-05-31 08:10:39 +0300
commitc66f3b40b17d3dfc4b6abb5efde8e71c46971821 (patch)
tree016fa247d396de2b5c36ebef789aadc21cf4c2cf /arch/m68k/include
parent2d707b4e37f9b0c37b8b2392f91b04c5b63ea538 (diff)
downloadlinux-c66f3b40b17d3dfc4b6abb5efde8e71c46971821.tar.xz
RISC-V: KVM: Fix incorrect reg_subtype labels in kvm_riscv_vcpu_set_reg_isa_ext function
In the function kvm_riscv_vcpu_set_reg_isa_ext, the original code used incorrect reg_subtype labels KVM_REG_RISCV_SBI_MULTI_EN/DIS. These have been corrected to KVM_REG_RISCV_ISA_MULTI_EN/DIS respectively. Although they are numerically equivalent, the actual processing will not result in errors, but it may lead to ambiguous code semantics. Fixes: 613029442a4b ("RISC-V: KVM: Extend ONE_REG to enable/disable multiple ISA extensions") Signed-off-by: Quan Zhou <zhouquan@iscas.ac.cn> Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Link: https://lore.kernel.org/r/ff1c6771a67d660db94372ac9aaa40f51e5e0090.1716429371.git.zhouquan@iscas.ac.cn Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'arch/m68k/include')
0 files changed, 0 insertions, 0 deletions