diff options
Diffstat (limited to 'virt/kvm/coalesced_mmio.c')
-rw-r--r-- | virt/kvm/coalesced_mmio.c | 4 |
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 | ||
135 | int kvm_vm_ioctl_register_coalesced_mmio(struct kvm *kvm, | 135 | int 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 |