* [PATCH] KVM: make the declaration of functions within 80 characters
@ 2015-09-11 6:12 Wei Yang
2015-09-14 16:43 ` Paolo Bonzini
0 siblings, 1 reply; 2+ messages in thread
From: Wei Yang @ 2015-09-11 6:12 UTC (permalink / raw)
To: gleb, pbonzini; +Cc: kvm, 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.
Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com>
---
virt/kvm/coalesced_mmio.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/virt/kvm/coalesced_mmio.h b/virt/kvm/coalesced_mmio.h
index 5cbf190..6bca74c 100644
--- a/virt/kvm/coalesced_mmio.h
+++ b/virt/kvm/coalesced_mmio.h
@@ -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
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] KVM: make the declaration of functions within 80 characters
2015-09-11 6:12 [PATCH] KVM: make the declaration of functions within 80 characters Wei Yang
@ 2015-09-14 16:43 ` Paolo Bonzini
0 siblings, 0 replies; 2+ messages in thread
From: Paolo Bonzini @ 2015-09-14 16:43 UTC (permalink / raw)
To: Wei Yang, gleb; +Cc: kvm
On 11/09/2015 08:12, Wei Yang wrote:
> 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 <weiyang@linux.vnet.ibm.com>
> ---
> virt/kvm/coalesced_mmio.h | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/virt/kvm/coalesced_mmio.h b/virt/kvm/coalesced_mmio.h
> index 5cbf190..6bca74c 100644
> --- a/virt/kvm/coalesced_mmio.h
> +++ b/virt/kvm/coalesced_mmio.h
> @@ -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
>
>
Ouch. I wonder what I did to get that result. Applied, thanks.
Paolo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-14 16:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-11 6:12 [PATCH] KVM: make the declaration of functions within 80 characters Wei Yang
2015-09-14 16:43 ` Paolo Bonzini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).