Re: [PATCH] KVM: X86: correct meaningless kvm_apicv_activated() check
From: Paolo Bonzini
Date: Mon Mar 16 2020 - 12:49:01 EST
On 16/03/20 16:59, Sean Christopherson wrote:
>>>
>> if (!!old == !!new)
>> return;
>>
>> to make it clear we're converting them to 1/0 :-)
>
> All I can think of now is the Onion article regarding razor blades...
>
> if (!!!!old == !!!!new)
> return;
>
That would be !!!!!, but seriously I'll go with two.
(Thanks for giving me a chuckle, it's sorely needed these days).
Paolo