diff mbox series

[-next] LoongArch: KVM: Remove unneeded semicolon

Message ID 20240618010013.66332-1-yang.lee@linux.alibaba.com (mailing list archive)
State New, archived
Headers show
Series [-next] LoongArch: KVM: Remove unneeded semicolon | expand

Commit Message

Yang Li June 18, 2024, 1 a.m. UTC
./arch/loongarch/kvm/exit.c:764:2-3: Unneeded semicolon

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>
---
 arch/loongarch/kvm/exit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bibo Mao June 18, 2024, 2:06 a.m. UTC | #1
On 2024/6/18 上午9:00, Yang Li wrote:
> ./arch/loongarch/kvm/exit.c:764:2-3: Unneeded semicolon
> 
> 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>
> ---
>   arch/loongarch/kvm/exit.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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);
>   }
> 
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Huacai Chen June 18, 2024, 2:54 p.m. UTC | #2
Queued, thanks.

Huacai

On Tue, Jun 18, 2024 at 10:06 AM maobibo <maobibo@loongson.cn> wrote:
>
>
>
> On 2024/6/18 上午9:00, Yang Li wrote:
> > ./arch/loongarch/kvm/exit.c:764:2-3: Unneeded semicolon
> >
> > 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>
> > ---
> >   arch/loongarch/kvm/exit.c | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > 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);
> >   }
> >
> Reviewed-by: Bibo Mao <maobibo@loongson.cn>
>
>
diff mbox series

Patch

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