projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3eb2a8b
)
LoongArch: KVM: Remove an unneeded semicolon
author
Yang Li
<yang.lee@linux.alibaba.com>
Fri, 21 Jun 2024 02:18:40 +0000
(10:18 +0800)
committer
Huacai Chen
<chenhuacai@loongson.cn>
Fri, 21 Jun 2024 02:18:40 +0000
(10:18 +0800)
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>
arch/loongarch/kvm/exit.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/loongarch/kvm/exit.c
b/arch/loongarch/kvm/exit.c
index c86e099af5cad0bc0decf3778ec064ea32a47e39..a68573e091c01313e8feaea8906146fcdcd19d25 100644
(file)
--- 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);
}