aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJochen Maes <jochen.maes@sejo.be>2010-02-08 05:29:33 -0500
committerMarcelo Tosatti <mtosatti@redhat.com>2010-03-01 10:36:09 -0500
commit43db669730743fcc2a74b641ff4d77781eb15bfa (patch)
tree9aa1ceebaa6bb1a9347c9149c984e3a2dad765fd
parent1976d2d2c91246a37fcb8246b811de735aa6e9a4 (diff)
KVM: Fix Codestyle in virt/kvm/coalesced_mmio.c
Fixed 2 codestyle issues in virt/kvm/coalesced_mmio.c Signed-off-by: Jochen Maes <jochen.maes@sejo.be> Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r--virt/kvm/coalesced_mmio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/virt/kvm/coalesced_mmio.c b/virt/kvm/coalesced_mmio.c
index 5de6594260cb..5169736377a3 100644
--- a/virt/kvm/coalesced_mmio.c
+++ b/virt/kvm/coalesced_mmio.c
@@ -133,7 +133,7 @@ void kvm_coalesced_mmio_free(struct kvm *kvm)
133} 133}
134 134
135int kvm_vm_ioctl_register_coalesced_mmio(struct kvm *kvm, 135int kvm_vm_ioctl_register_coalesced_mmio(struct kvm *kvm,
136 struct kvm_coalesced_mmio_zone *zone) 136 struct kvm_coalesced_mmio_zone *zone)
137{ 137{
138 struct kvm_coalesced_mmio_dev *dev = kvm->coalesced_mmio_dev; 138 struct kvm_coalesced_mmio_dev *dev = kvm->coalesced_mmio_dev;
139 139
@@ -166,7 +166,7 @@ int kvm_vm_ioctl_unregister_coalesced_mmio(struct kvm *kvm,
166 mutex_lock(&kvm->slots_lock); 166 mutex_lock(&kvm->slots_lock);
167 167
168 i = dev->nb_zones; 168 i = dev->nb_zones;
169 while(i) { 169 while (i) {
170 z = &dev->zone[i - 1]; 170 z = &dev->zone[i - 1];
171 171
172 /* unregister all zones 172 /* unregister all zones