Re: [PATCH] KVM: MIPS: remove unneeded semicolon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reviewed-by: Huacai Chen <chenhuacai@xxxxxxxxxx>

On Tue, Feb 2, 2021 at 10:15 AM Yang Li <yang.lee@xxxxxxxxxxxxxxxxx> wrote:
>
> Eliminate the following coccicheck warning:
> ./arch/mips/kvm/mips.c:151:2-3: Unneeded semicolon
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Signed-off-by: Yang Li <yang.lee@xxxxxxxxxxxxxxxxx>
> ---
>  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
>



[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux