Re: [PATCH] KVM: VMX: Add 'else' to split mutually exclusive case

From: linmiaohe
Date: Mon Feb 17 2020 - 04:41:51 EST


Vitaly Kuznetsov <vkuznets@xxxxxxxxxx> writes:
>linmiaohe <linmiaohe@xxxxxxxxxx> writes:
>
>
>We'll need to add braces to all branches of the statement,
>
> if (is_page_fault(vmx->exit_intr_info)) {
>
> } else if (is_machine_check(vmx->exit_intr_info)) {
>
> } else if (is_nmi(vmx->exit_intr_info)) {
>
> }
>
>then.

Will do. Thanks.