Re: [PATCH] KVM: VMX: Add missing braces to avoid redundant error check

2013-04-08 Thread Jan Kiszka
On 2013-04-08 11:47, Gleb Natapov wrote: > On Mon, Apr 08, 2013 at 11:07:46AM +0200, Jan Kiszka wrote: >> The code was already properly aligned, now also add the braces to avoid > Are you saying kvm is not written in Python? # python arch/x86/kvm/vmx.c File "arch/x86/kvm/vmx.c", line 1 /*

Re: [PATCH] KVM: VMX: Add missing braces to avoid redundant error check

2013-04-08 Thread Gleb Natapov
On Mon, Apr 08, 2013 at 11:07:46AM +0200, Jan Kiszka wrote: > The code was already properly aligned, now also add the braces to avoid Are you saying kvm is not written in Python? > that err is checked even if alloc_apic_access_page didn't run and change > it. Found via Coccinelle by Fengguang Wu.