Skip to contentSkip to conversation

LoongArch: KVM: Remove unneeded semicolon

PATCH Applied Yang Li 3 participants 3 messages Jun 18, 2024

Subsystems (3)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 LoongArch: KVM: Remove unneeded semicolon

./arch/loongarch/kvm/exit.c:764:2-3: Unneeded semicolon

---
 arch/loongarch/kvm/exit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/loongarch/kvm/exit.c +1 -1
index c86e099af5ca..a68573e091c0 100644
@@ -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
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 15 lines · Yang Li

./arch/loongarch/kvm/exit.c:764:2-3: Unneeded semicolon

---
  arch/loongarch/kvm/exit.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/loongarch/kvm/exit.c +0 -0
index c86e099af5ca..a68573e091c0 100644

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);
  }
maintainer Applied
#2 lore raw

Queued, thanks.

Huacai

Quoted 30 lines · maobibo
Quoted 15 lines · Yang Li

./arch/loongarch/kvm/exit.c:764:2-3: Unneeded semicolon

---
  arch/loongarch/kvm/exit.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/loongarch/kvm/exit.c +0 -0
index c86e099af5ca..a68573e091c0 100644

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);
  }