From: Jan Kiszka <[email protected]> This overflow causes an annoying warning.
Signed-off-by: Jan Kiszka <[email protected]> Signed-off-by: Avi Kivity <[email protected]> diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index 65324a0..5b313e9 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c @@ -1456,7 +1456,7 @@ static bool is_erratum_383(void) /* Bit 62 may or may not be set for this mce */ value &= ~(1ULL << 62); - if (value != 0xb600000000010015) + if (value != 0xb600000000010015ULL) return false; /* Clear MCi_STATUS registers */ -- To unsubscribe from this list: send the line "unsubscribe kvm-commits" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
