linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] white space formatting in kvm_main.c
@ 2015-02-20 13:21 Kevin Mulvey
  2015-02-20 13:21 ` [PATCH 2/2] [PATCH] fix checkpatch.pl errors in kvm/irqchip.c Kevin Mulvey
  2015-02-25 22:31 ` [PATCH 1/2] white space formatting in kvm_main.c Marcelo Tosatti
  0 siblings, 2 replies; 3+ messages in thread
From: Kevin Mulvey @ 2015-02-20 13:21 UTC (permalink / raw)
  To: Gleb Natapov, Paolo Bonzini, kvm, linux-kernel; +Cc: Kevin Mulvey

Better alignment of loop using tabs rather than spaces, this
makes checkpatch.pl happier.

Signed-off-by: Kevin Mulvey <kmulvey@linux.com>
---
 virt/kvm/kvm_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index a109370..36ab89d 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;
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] [PATCH] fix checkpatch.pl errors in kvm/irqchip.c
  2015-02-20 13:21 [PATCH 1/2] white space formatting in kvm_main.c Kevin Mulvey
@ 2015-02-20 13:21 ` Kevin Mulvey
  2015-02-25 22:31 ` [PATCH 1/2] white space formatting in kvm_main.c Marcelo Tosatti
  1 sibling, 0 replies; 3+ messages in thread
From: Kevin Mulvey @ 2015-02-20 13:21 UTC (permalink / raw)
  To: Gleb Natapov, Paolo Bonzini, kvm, linux-kernel; +Cc: Kevin Mulvey

Fix whitespace around while

Signed-off-by: Kevin Mulvey <kmulvey@linux.com>
---
 virt/kvm/irqchip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/virt/kvm/irqchip.c b/virt/kvm/irqchip.c
index 7f256f3..1d56a90 100644
--- a/virt/kvm/irqchip.c
+++ b/virt/kvm/irqchip.c
@@ -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);
-- 
2.1.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] white space formatting in kvm_main.c
  2015-02-20 13:21 [PATCH 1/2] white space formatting in kvm_main.c Kevin Mulvey
  2015-02-20 13:21 ` [PATCH 2/2] [PATCH] fix checkpatch.pl errors in kvm/irqchip.c Kevin Mulvey
@ 2015-02-25 22:31 ` Marcelo Tosatti
  1 sibling, 0 replies; 3+ messages in thread
From: Marcelo Tosatti @ 2015-02-25 22:31 UTC (permalink / raw)
  To: Kevin Mulvey; +Cc: Gleb Natapov, Paolo Bonzini, kvm, linux-kernel, Kevin Mulvey

On Fri, Feb 20, 2015 at 08:21:36AM -0500, Kevin Mulvey wrote:
> Better alignment of loop using tabs rather than spaces, this
> makes checkpatch.pl happier.
> 
> Signed-off-by: Kevin Mulvey <kmulvey@linux.com>
> ---
>  virt/kvm/kvm_main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied both, thanks.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-25 22:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-20 13:21 [PATCH 1/2] white space formatting in kvm_main.c Kevin Mulvey
2015-02-20 13:21 ` [PATCH 2/2] [PATCH] fix checkpatch.pl errors in kvm/irqchip.c Kevin Mulvey
2015-02-25 22:31 ` [PATCH 1/2] white space formatting in kvm_main.c Marcelo Tosatti

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).