LoongArch: KVM: Remove unneeded semicolon
Subsystems (3)
PATCH 1/1 LoongArch: KVM: Remove unneeded semicolon
./arch/loongarch/kvm/exit.c:764:2-3: Unneeded semicolon
Reported-by Abaci Robot <[email protected]>
Signed-off-by Yang Li <[email protected]>
--- arch/loongarch/kvm/exit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/loongarch/kvm/exit.c +1 -1
@@ -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); }
Signature · 1 line
2.20.1.7.g153144c
Quoted 15 lines · Yang Li
./arch/loongarch/kvm/exit.c:764:2-3: Unneeded semicolon
Reported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>--- arch/loongarch/kvm/exit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/loongarch/kvm/exit.c +0
-0
arch/loongarch/kvm/exit.c static void kvm_handle_service(struct kvm_vcpu *vcpu) · line 767
Quoted 8 lines
arch/loongarch/kvm/exit.c +1
-1@@ -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); }
Reviewed-by Bibo Mao <[email protected]>
Queued, thanks.
Huacai
Quoted 30 lines · maobibo
Quoted 15 lines · Yang Li
./arch/loongarch/kvm/exit.c:764:2-3: Unneeded semicolon
Reported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>--- arch/loongarch/kvm/exit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/loongarch/kvm/exit.c +0
-0arch/loongarch/kvm/exit.c static void kvm_handle_service(struct kvm_vcpu *vcpu) · line 767
Quoted 8 lines
arch/loongarch/kvm/exit.c +1
-1@@ -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); }Reviewed-by Bibo Mao <[email protected]>