mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] LoongArch: KVM: Remove unneeded semicolon
@ 2024-06-18  1:00 Yang Li
  2024-06-18  2:06 ` maobibo
  0 siblings, 1 reply; 3+ messages in thread
From: Yang Li @ 2024-06-18  1:00 UTC (permalink / raw)
  To: zhaotianrui, maobibo, chenhuacai
  Cc: kvm, loongarch, linux-kernel, Yang Li, Abaci Robot

./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);
 }
-- 
2.20.1.7.g153144c


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH -next] LoongArch: KVM: Remove unneeded semicolon
  2024-06-18  1:00 [PATCH -next] LoongArch: KVM: Remove unneeded semicolon Yang Li
@ 2024-06-18  2:06 ` maobibo
  2024-06-18 14:54   ` Huacai Chen
  0 siblings, 1 reply; 3+ messages in thread
From: maobibo @ 2024-06-18  2:06 UTC (permalink / raw)
  To: Yang Li, zhaotianrui, chenhuacai
  Cc: kvm, loongarch, linux-kernel, Abaci Robot



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>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH -next] LoongArch: KVM: Remove unneeded semicolon
  2024-06-18  2:06 ` maobibo
@ 2024-06-18 14:54   ` Huacai Chen
  0 siblings, 0 replies; 3+ messages in thread
From: Huacai Chen @ 2024-06-18 14:54 UTC (permalink / raw)
  To: maobibo; +Cc: Yang Li, zhaotianrui, kvm, loongarch, linux-kernel, Abaci Robot

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>
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-06-18 14:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-18  1:00 [PATCH -next] LoongArch: KVM: Remove unneeded semicolon Yang Li
2024-06-18  2:06 ` maobibo
2024-06-18 14:54   ` Huacai Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®