Tag: a63cb56061239372fce2452dbedd35c95bd665aa

KVM: VMX: Add missing braces to avoid redundant error check

Author: Jan Kiszka <jan.kiszka@siemens.com> The code was already properly aligned, now also add the braces to avoid that err is checked even if alloc_apic_access_page didn’t run and change it. Found via Coccinelle by Fengguang Wu. Signed-off-by: Jan Kiszka Signed-off-by: Gleb Natapov — arch/x86/kvm/vmx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)   diff …

Continue reading