]> xenbits.xensource.com Git - people/pauldu/linux.git/commitdiff
RISC-V: KVM: Fix indentation in kvm_riscv_vcpu_set_reg_csr()
authorAnup Patel <apatel@ventanamicro.com>
Sun, 24 Dec 2023 08:34:02 +0000 (14:04 +0530)
committerAnup Patel <anup@brainfault.org>
Fri, 29 Dec 2023 07:01:58 +0000 (12:31 +0530)
The indentation of "break" in kvm_riscv_vcpu_set_reg_csr() is
inconsistent hence let us fix it.

Fixes: c04913f2b54e ("RISCV: KVM: Add sstateen0 to ONE_REG")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202312190719.kBuYl6oJ-lkp@intel.com/
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/kvm/vcpu_onereg.c

index 11cdbf844291aedbba6954254c1b324169ee1561..c0bad1aed9f090347b1c0d814ba89522bb62c421 100644 (file)
@@ -485,7 +485,7 @@ static int kvm_riscv_vcpu_set_reg_csr(struct kvm_vcpu *vcpu,
                if (riscv_has_extension_unlikely(RISCV_ISA_EXT_SMSTATEEN))
                        rc = kvm_riscv_vcpu_smstateen_set_csr(vcpu, reg_num,
                                                              reg_val);
-break;
+               break;
        default:
                rc = -ENOENT;
                break;