* [PATCH -next] KVM: MIPS/Emulate: Remove unneeded semicolon
@ 2020-04-30 3:19 Zou Wei
2020-04-30 4:05 ` Huacai Chen
2020-05-14 7:44 ` Thomas Bogendoerfer
0 siblings, 2 replies; 3+ messages in thread
From: Zou Wei @ 2020-04-30 3:19 UTC (permalink / raw)
To: tsbogend; +Cc: linux-mips, kvm, linux-kernel, Zou Wei
Fixes coccicheck warnings:
arch/mips/kvm/emulate.c:1793:3-4: Unneeded semicolon
arch/mips/kvm/emulate.c:1968:3-4: Unneeded semicolon
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
---
arch/mips/kvm/emulate.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/mips/kvm/emulate.c b/arch/mips/kvm/emulate.c
index 754094b..5c88bd1 100644
--- a/arch/mips/kvm/emulate.c
+++ b/arch/mips/kvm/emulate.c
@@ -1790,7 +1790,7 @@ static enum emulation_result kvm_mips_guest_cache_op(int (*fn)(unsigned long),
return EMULATE_EXCEPT;
default:
break;
- };
+ }
}
}
@@ -1965,7 +1965,7 @@ enum emulation_result kvm_mips_emulate_inst(u32 cause, u32 *opc,
break;
default:
goto unknown;
- };
+ }
break;
unknown:
#endif
--
2.6.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH -next] KVM: MIPS/Emulate: Remove unneeded semicolon
2020-04-30 3:19 [PATCH -next] KVM: MIPS/Emulate: Remove unneeded semicolon Zou Wei
@ 2020-04-30 4:05 ` Huacai Chen
2020-05-14 7:44 ` Thomas Bogendoerfer
1 sibling, 0 replies; 3+ messages in thread
From: Huacai Chen @ 2020-04-30 4:05 UTC (permalink / raw)
To: Zou Wei; +Cc: Thomas Bogendoerfer, open list:MIPS, kvm, LKML
Reviewed-by: Huacai Chen <chenhc@lemote.com>
On Thu, Apr 30, 2020 at 11:13 AM Zou Wei <zou_wei@huawei.com> wrote:
>
> Fixes coccicheck warnings:
>
> arch/mips/kvm/emulate.c:1793:3-4: Unneeded semicolon
> arch/mips/kvm/emulate.c:1968:3-4: Unneeded semicolon
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Zou Wei <zou_wei@huawei.com>
> ---
> arch/mips/kvm/emulate.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/mips/kvm/emulate.c b/arch/mips/kvm/emulate.c
> index 754094b..5c88bd1 100644
> --- a/arch/mips/kvm/emulate.c
> +++ b/arch/mips/kvm/emulate.c
> @@ -1790,7 +1790,7 @@ static enum emulation_result kvm_mips_guest_cache_op(int (*fn)(unsigned long),
> return EMULATE_EXCEPT;
> default:
> break;
> - };
> + }
> }
> }
>
> @@ -1965,7 +1965,7 @@ enum emulation_result kvm_mips_emulate_inst(u32 cause, u32 *opc,
> break;
> default:
> goto unknown;
> - };
> + }
> break;
> unknown:
> #endif
> --
> 2.6.2
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH -next] KVM: MIPS/Emulate: Remove unneeded semicolon
2020-04-30 3:19 [PATCH -next] KVM: MIPS/Emulate: Remove unneeded semicolon Zou Wei
2020-04-30 4:05 ` Huacai Chen
@ 2020-05-14 7:44 ` Thomas Bogendoerfer
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Bogendoerfer @ 2020-05-14 7:44 UTC (permalink / raw)
To: Zou Wei; +Cc: linux-mips, kvm, linux-kernel
On Thu, Apr 30, 2020 at 11:19:36AM +0800, Zou Wei wrote:
> Fixes coccicheck warnings:
>
> arch/mips/kvm/emulate.c:1793:3-4: Unneeded semicolon
> arch/mips/kvm/emulate.c:1968:3-4: Unneeded semicolon
>
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Zou Wei <zou_wei@huawei.com>
> ---
> arch/mips/kvm/emulate.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-05-14 7:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-30 3:19 [PATCH -next] KVM: MIPS/Emulate: Remove unneeded semicolon Zou Wei
2020-04-30 4:05 ` Huacai Chen
2020-05-14 7:44 ` Thomas Bogendoerfer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).