kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] KVM: MIPS: remove unneeded semicolon
@ 2021-02-02  2:15 Yang Li
  2021-02-02  4:40 ` Huacai Chen
  2021-02-03 10:37 ` Thomas Bogendoerfer
  0 siblings, 2 replies; 3+ messages in thread
From: Yang Li @ 2021-02-02  2:15 UTC (permalink / raw)
  To: chenhuacai
  Cc: aleksandar.qemu.devel, tsbogend, linux-mips, kvm, linux-kernel, Yang Li

Eliminate the following coccicheck warning:
./arch/mips/kvm/mips.c:151:2-3: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 arch/mips/kvm/mips.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/kvm/mips.c b/arch/mips/kvm/mips.c
index 3d6a7f5..58a8812 100644
--- a/arch/mips/kvm/mips.c
+++ b/arch/mips/kvm/mips.c
@@ -148,7 +148,7 @@ int kvm_arch_init_vm(struct kvm *kvm, unsigned long type)
 	default:
 		/* Unsupported KVM type */
 		return -EINVAL;
-	};
+	}
 
 	/* Allocate page table to map GPA -> RPA */
 	kvm->arch.gpa_mm.pgd = kvm_pgd_alloc();
-- 
1.8.3.1


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

* Re: [PATCH] KVM: MIPS: remove unneeded semicolon
  2021-02-02  2:15 [PATCH] KVM: MIPS: remove unneeded semicolon Yang Li
@ 2021-02-02  4:40 ` Huacai Chen
  2021-02-03 10:37 ` Thomas Bogendoerfer
  1 sibling, 0 replies; 3+ messages in thread
From: Huacai Chen @ 2021-02-02  4:40 UTC (permalink / raw)
  To: Yang Li
  Cc: Aleksandar Markovic, Thomas Bogendoerfer, open list:MIPS, kvm, LKML

Reviewed-by: Huacai Chen <chenhuacai@kernel.org>

On Tue, Feb 2, 2021 at 10:15 AM Yang Li <yang.lee@linux.alibaba.com> wrote:
>
> Eliminate the following coccicheck warning:
> ./arch/mips/kvm/mips.c:151:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  arch/mips/kvm/mips.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/mips/kvm/mips.c b/arch/mips/kvm/mips.c
> index 3d6a7f5..58a8812 100644
> --- a/arch/mips/kvm/mips.c
> +++ b/arch/mips/kvm/mips.c
> @@ -148,7 +148,7 @@ int kvm_arch_init_vm(struct kvm *kvm, unsigned long type)
>         default:
>                 /* Unsupported KVM type */
>                 return -EINVAL;
> -       };
> +       }
>
>         /* Allocate page table to map GPA -> RPA */
>         kvm->arch.gpa_mm.pgd = kvm_pgd_alloc();
> --
> 1.8.3.1
>

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

* Re: [PATCH] KVM: MIPS: remove unneeded semicolon
  2021-02-02  2:15 [PATCH] KVM: MIPS: remove unneeded semicolon Yang Li
  2021-02-02  4:40 ` Huacai Chen
@ 2021-02-03 10:37 ` Thomas Bogendoerfer
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Bogendoerfer @ 2021-02-03 10:37 UTC (permalink / raw)
  To: Yang Li; +Cc: chenhuacai, aleksandar.qemu.devel, linux-mips, kvm, linux-kernel

On Tue, Feb 02, 2021 at 10:15:35AM +0800, Yang Li wrote:
> Eliminate the following coccicheck warning:
> ./arch/mips/kvm/mips.c:151:2-3: Unneeded semicolon
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  arch/mips/kvm/mips.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

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:[~2021-02-03 10:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-02  2:15 [PATCH] KVM: MIPS: remove unneeded semicolon Yang Li
2021-02-02  4:40 ` Huacai Chen
2021-02-03 10:37 ` 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).