Skip to contentSkip to conversation

KVM: VMX: Add 'else' to split mutually exclusive case

PATCH linmiaohe 1 participant 1 message Feb 17, 2020 KVM

lore
Share & tools
lore

linmiaohe

author
#0 lore raw
Quoted 13 lines · Vitaly Kuznetsov

linmiaohe <[email protected]> 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)) {

   }
Quoted 1 line

then.

Will do. Thanks.