Fix a == vs. = typo in kvm_get_cpu_address_width() that results in
@pa_bits being left unset if the CPU doesn't support enumerating its
MAX_PHY_ADDR. Flagged by clang's unusued-value warning.
lib/x86_64/processor.c:1034:51: warning: expression result unused [-Wunused-value]
*pa_bits == kvm_cpu_has(X86_FEATURE_PAE) ? 36 : 32;
Fixes:
|
||
---|---|---|
.. | ||
apic.c | ||
handlers.S | ||
hyperv.c | ||
memstress.c | ||
processor.c | ||
svm.c | ||
ucall.c | ||
vmx.c |