summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorKevin Mulvey <kevin@kevinmulvey.net>2015-02-20 14:21:36 +0100
committerMarcelo Tosatti <mtosatti@redhat.com>2015-03-10 14:37:42 +0100
commitbfda0e849102108eeedbeb71077859cdc853b7cd (patch)
tree09443b0d12835b3cee4f553dad07e723690b0a9f /virt
parentKVM: SVM: use kvm_register_write()/read() (diff)
downloadlinux-bfda0e849102108eeedbeb71077859cdc853b7cd.tar.xz
linux-bfda0e849102108eeedbeb71077859cdc853b7cd.zip
KVM: white space formatting in kvm_main.c
Better alignment of loop using tabs rather than spaces, this makes checkpatch.pl happier. Signed-off-by: Kevin Mulvey <kmulvey@linux.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'virt')
-rw-r--r--virt/kvm/kvm_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index a1093700f3a4..36ab89dfbf62 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -1742,7 +1742,7 @@ int kvm_clear_guest(struct kvm *kvm, gpa_t gpa, unsigned long len)
int offset = offset_in_page(gpa);
int ret;
- while ((seg = next_segment(len, offset)) != 0) {
+ while ((seg = next_segment(len, offset)) != 0) {
ret = kvm_clear_guest_page(kvm, gfn, offset, seg);
if (ret < 0)
return ret;