summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2024-06-21 10:18:40 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2024-06-21 10:18:40 +0800
commitd0a1c07739e1b7f74683fe061545669156d102f2 (patch)
tree5f38192c8aa4a7516fe7c4ccdb4bcf7c5c4c005a /arch
parent3eb2a8b23598e90fda43abb0f23cb267bd5018ba (diff)
LoongArch: KVM: Remove an unneeded semicolon
Remove an unneeded semicolon to avoid build warnings: ./arch/loongarch/kvm/exit.c:764:2-3: Unneeded semicolon Cc: stable@vger.kernel.org Reported-by: Abaci Robot <abaci@linux.alibaba.com> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9343 Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch')
-rw-r--r--arch/loongarch/kvm/exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/loongarch/kvm/exit.c b/arch/loongarch/kvm/exit.c
index c86e099af5ca..a68573e091c0 100644
--- a/arch/loongarch/kvm/exit.c
+++ b/arch/loongarch/kvm/exit.c
@@ -761,7 +761,7 @@ static void kvm_handle_service(struct kvm_vcpu *vcpu)
default:
ret = KVM_HCALL_INVALID_CODE;
break;
- };
+ }
kvm_write_reg(vcpu, LOONGARCH_GPR_A0, ret);
}