original_kernel/arch/x86/kvm
Radim Krčmář 92ceb7679a KVM: x86: prevent uninitialized variable warning in check_svme()
get_msr() of MSR_EFER is currently always going to succeed, but static
checker doesn't see that far.

Don't complicate stuff and just use 0 for the fallback -- it means that
the feature is not present.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
2017-05-19 19:59:28 +02:00
..
Kconfig
Makefile
cpuid.c
cpuid.h
debugfs.c
emulate.c
hyperv.c
hyperv.h
i8254.c
i8254.h
i8259.c
ioapic.c
ioapic.h
irq.c
irq.h
irq_comm.c
kvm_cache_regs.h
lapic.c
lapic.h
mmu.c
mmu.h
mmu_audit.c
mmutrace.h
mtrr.c
page_track.c
paging_tmpl.h
pmu.c
pmu.h
pmu_amd.c
pmu_intel.c
svm.c
trace.h
tss.h
vmx.c
x86.c
x86.h