KVM: make the declaration of functions within 80 characters
PATCH 1/1 KVM: make the declaration of functions within 80 characters
After 'commit 0b8ba4a2b658 ("KVM: fix checkpatch.pl errors in kvm/coalesced_mmio.h")', the declaration of the two function will exceed 80 characters.
This patch reduces the TAPs to make each line in 80 characters.
Signed-off-by Wei Yang <[email protected]>
--- virt/kvm/coalesced_mmio.h | 4 ++-- 1 files 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
1.7.1
Paolo Bonzini
maintainerQuoted 18 lines · Wei Yang
After 'commit
0b8ba4a2b658("KVM: fix checkpatch.pl errors inkvm/coalesced_mmio.h")', the declaration of the two function will exceed 80 characters.This patch reduces the TAPs to make each line in 80 characters.
Signed-off-by Wei Yang <[email protected]>--- virt/kvm/coalesced_mmio.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)virt/kvm/coalesced_mmio.h +0
-0@@ -24,9 +24,9 @@ struct kvm_coalesced_mmio_dev {int kvm_coalesced_mmio_init (struct kvm *kvm);
virt/kvm/coalesced_mmio.h struct kvm_coalesced_mmio_dev { · line 32
Quoted 10 lines
virt/kvm/coalesced_mmio.h +2
-2void 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
Ouch. I wonder what I did to get that result. Applied, thanks.
Paolo