Skip to contentSkip to conversation

KVM: make the declaration of functions within 80 characters

PATCH In review Wei Yang 2 participants 2 messages Sep 11, 2015 – Sep 14, 2015 KVM

lore
Share & tools
lore

Wei Yang

author
#0 lore raw

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.

---
 virt/kvm/coalesced_mmio.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
virt/kvm/coalesced_mmio.h +2 -2
index 5cbf190..6bca74c 100644
@@ -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
maintainer
#1 lore raw
Quoted 18 lines · Wei Yang

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.

---
 virt/kvm/coalesced_mmio.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
virt/kvm/coalesced_mmio.h +0 -0
index 5cbf190..6bca74c 100644
@@ -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 -2
 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
 

Ouch. I wonder what I did to get that result. Applied, thanks.

Paolo