Received: from eggs.gnu.org ([2001:4830:134:3::10]:48013) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlIem-00087Y-GH for qemu-devel@nongnu.org; Mon, 03 Nov 2014 09:31:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlIeb-0006tN-7s for qemu-devel@nongnu.org; Mon, 03 Nov 2014 09:30:56 -0500 Received: from e06smtp11.uk.ibm.com ([195.75.94.107]:51979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlIea-0006tB-Nm for qemu-devel@nongnu.org; Mon, 03 Nov 2014 09:30:45 -0500 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 3 Nov 2014 14:30:44 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 13CA31B08069 for ; Mon, 3 Nov 2014 14:30:47 +0000 (GMT) Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id sA3EUfQk61800472 for ; Mon, 3 Nov 2014 14:30:41 GMT Received: from d06av01.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id sA3EUedp027422 for ; Mon, 3 Nov 2014 07:30:41 -0700 From: Cornelia Huck Date: Mon, 3 Nov 2014 15:30:34 +0100 Message-Id: <1415025034-24918-3-git-send-email-cornelia.huck@de.ibm.com> In-Reply-To: <1415025034-24918-1-git-send-email-cornelia.huck@de.ibm.com> References: <1415025034-24918-1-git-send-email-cornelia.huck@de.ibm.com> Subject: [Qemu-devel] [PATCH 2/2] s390x/kvm: Fix warning from sparse List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Cornelia Huck , borntraeger@de.ibm.com, jfrei@linux.vnet.ibm.com, agraf@suse.de, Thomas Huth From: Thomas Huth 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 Reviewed-by: David Hildenbrand Acked-by: Cornelia Huck Signed-off-by: Cornelia Huck --- 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