KVM: fix checkpatch.pl errors in kvm/async_pf.h
PATCH 1/2 KVM: fix checkpatch.pl errors in kvm/async_pf.h
fix brace spacing
Signed-off-by Kevin Mulvey <[email protected]>
--- virt/kvm/async_pf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
virt/kvm/async_pf.h +2 -2
@@ -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
Signature · 1 line
2.4.3
PATCH 2/2 KVM: fix checkpatch.pl errors in kvm/coalesced_mmio.h
Tabs rather than spaces
Signed-off-by Kevin Mulvey <[email protected]>
--- virt/kvm/coalesced_mmio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
virt/kvm/coalesced_mmio.h +2 -2
@@ -24,9 +24,9 @@ struct kvm_coalesced_mmio_dev {int kvm_coalesced_mmio_init (struct kvm *kvm);void kvm_coalesced_mmio_free (struct kvm *kvm);int kvm_vm_ioctl_register_coalesced_mmio (struct kvm *kvm, -struct kvm_coalesced_mmio_zone *zone); +struct kvm_coalesced_mmio_zone *zone);int kvm_vm_ioctl_unregister_coalesced_mmio (struct kvm *kvm, -struct kvm_coalesced_mmio_zone *zone); +struct kvm_coalesced_mmio_zone *zone);#else
Signature · 1 line
2.4.3
Quoted 13 lines · Kevin Mulvey
fix brace spacing
Signed-off-by Kevin Mulvey <[email protected]>--- virt/kvm/async_pf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)virt/kvm/async_pf.h +0
-0
virt/kvm/async_pf.h void kvm_async_pf_deinit(void); · line 36
Quoted 10 lines
virt/kvm/async_pf.h +2
-2@@ -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