Re: [PATCH 1/2] KVM: fix checkpatch.pl errors in kvm/async_pf.h

From: Paolo Bonzini
Date: Wed Jun 17 2015 - 07:47:48 EST




On 16/06/2015 13:33, Kevin Mulvey wrote:
> fix brace spacing
>
> Signed-off-by: Kevin Mulvey <kmulvey@xxxxxxxxx>
> ---
> virt/kvm/async_pf.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/virt/kvm/async_pf.h b/virt/kvm/async_pf.h
> index e7ef6447..ec4cfa2 100644
> --- a/virt/kvm/async_pf.h
> +++ b/virt/kvm/async_pf.h
> @@ -29,8 +29,8 @@ void kvm_async_pf_deinit(void);
> void kvm_async_pf_vcpu_init(struct kvm_vcpu *vcpu);
> #else
> #define kvm_async_pf_init() (0)
> -#define kvm_async_pf_deinit() do{}while(0)
> -#define kvm_async_pf_vcpu_init(C) do{}while(0)
> +#define kvm_async_pf_deinit() do {} while (0)
> +#define kvm_async_pf_vcpu_init(C) do {} while (0)
> #endif
>
> #endif
>

Applied both, thanks.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/