[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 2/5] s390x/kvm: Fix warning from sparse
From: |
Cornelia Huck |
Subject: |
[Qemu-devel] [PULL 2/5] s390x/kvm: Fix warning from sparse |
Date: |
Wed, 5 Nov 2014 16:48:13 +0100 |
From: Thomas Huth <address@hidden>
When running "sparse" with the s390x kvm.c code, it complains that
"constant 0x00400f1d40330000 is so big it is long" - let's fix this
by appending a proper suffix.
Signed-off-by: Thomas Huth <address@hidden>
Reviewed-by: David Hildenbrand <address@hidden>
Acked-by: Cornelia Huck <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>
---
target-s390x/kvm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c
index 690cb71..d247471 100644
--- a/target-s390x/kvm.c
+++ b/target-s390x/kvm.c
@@ -1272,7 +1272,7 @@ void kvm_s390_crw_mchk(void)
struct kvm_s390_irq irq = {
.type = KVM_S390_MCHK,
.u.mchk.cr14 = 1 << 28,
- .u.mchk.mcic = 0x00400f1d40330000,
+ .u.mchk.mcic = 0x00400f1d40330000ULL,
};
kvm_s390_floating_interrupt(&irq);
}
--
1.7.9.5
- [Qemu-devel] [PULL 0/5] s390x fixes for 2.2, Cornelia Huck, 2014/11/05
- [Qemu-devel] [PULL 1/5] s390x/kvm: Fix opcode decoding for eb instruction handler, Cornelia Huck, 2014/11/05
- [Qemu-devel] [PULL 3/5] s390x/sclpconsole-lm: truncate input if line is too long, Cornelia Huck, 2014/11/05
- [Qemu-devel] [PULL 5/5] s390x/sclpconsole: Avoid hanging SCLP ASCII console, Cornelia Huck, 2014/11/05
- [Qemu-devel] [PULL 2/5] s390x/kvm: Fix warning from sparse,
Cornelia Huck <=
- [Qemu-devel] [PULL 4/5] s390x/sclpconsole-lm: Fix hanging SCLP line mode console, Cornelia Huck, 2014/11/05
- Re: [Qemu-devel] [PULL 0/5] s390x fixes for 2.2, Christian Borntraeger, 2014/11/10