white space formatting in kvm_main.c
PATCH 1/2 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 <[email protected]>
--- virt/kvm/kvm_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
virt/kvm/kvm_main.c +1 -1
@@ -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;
Signature · 1 line
2.1.0
PATCH 2/2 fix checkpatch.pl errors in kvm/irqchip.c
Fix whitespace around while
Signed-off-by Kevin Mulvey <[email protected]>
--- virt/kvm/irqchip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
virt/kvm/irqchip.c +1 -1
@@ -105,7 +105,7 @@ int kvm_set_irq(struct kvm *kvm, int irq_source_id, u32 irq, int level, i =kvm_irq_map_gsi (kvm, irq_set, irq);srcu_read_unlock (&kvm->irq_srcu, idx); -while (i--) { +while (i--) {int r; r = irq_set[i].set (&irq_set[i], kvm, irq_source_id, level, line_status);
Signature · 1 line
2.1.0
Marcelo Tosatti
AppliedQuoted 7 lines · Kevin Mulvey
Better alignment of loop using tabs rather than spaces, this makes checkpatch.pl happier.
Signed-off-by Kevin Mulvey <[email protected]>--- virt/kvm/kvm_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied both, thanks.