[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150311142024.GA23478@cbox>
Date: Wed, 11 Mar 2015 15:20:24 +0100
From: Christoffer Dall <christoffer.dall@...aro.org>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
Marc Zyngier <marc.zyngier@....com>,
linux-arm-kernel@...ts.infradead.org, kvmarm@...ts.cs.columbia.edu
Subject: Re: [PATCH] KVM: arm/arm64: prefer IS_ENABLED to a static variable
On Thu, Mar 05, 2015 at 12:26:06PM +0100, Paolo Bonzini wrote:
> IS_ENABLED gives compile-time checking and keeps the code clearer.
>
> The one exception is inside kvm_vm_ioctl_check_extension, where
> the established idiom is to wrap the case labels with an #ifdef.
>
> Signed-off-by: Paolo Bonzini <pbonzini@...hat.com>
Thanks, I've applied this to my queue with a follow-up to remove config
options all together just like we have it on arm64.
I'll send out that patch based on yours and I've applied Eric's IRQFD
series on top of that.
Best,
-Christoffer
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists