From patchwork Tue Jul 8 15:01:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 33229 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 43A8120969 for ; Tue, 8 Jul 2014 15:02:06 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id eb12sf35768338oac.3 for ; Tue, 08 Jul 2014 08:02:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:cc:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list; bh=YHfDx5D6FacMK1+Xl1E7rsBM7HDtGlBVNAUE0/f8FTw=; b=MlIPVqsRpRcxuJ/uXmkoffUJh/ELrhnDofF098cEpNcojKBTgnS5XksmLRi5n0paO0 CBNEfl3koBvFL42AfAQoEgswN53xDGwvQdHeMmZ5a1icIT011X/jwvavB92TPt1xn3qm VwWa6h2FjM/XPwrivxXstBiuLE42uAvIivultS7USHUJWW/jf3PbG4twnGttvDqKVxYh y8RrAmUqhLXwJSlI+3EhrulCoFB5j/XKrHy9w0gV8g8Ed1L1G7CkAzEF2zN92pu/a481 8yk4sOcxEanIwJycTPO8PEuPj+ftnc+SZ72LqaWu0vLvyOarDceBAndaUONCUTK8ndgv iF0A== X-Gm-Message-State: ALoCoQlnG3t4dr9GXIVGllcpBhmdmJYcNfImAkSstUeCVwSnCoDRb0NMoDVjHfijpNdklba5Tzo0 X-Received: by 10.182.255.225 with SMTP id at1mr18228891obd.29.1404831725509; Tue, 08 Jul 2014 08:02:05 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.105.136 with SMTP id c8ls2182905qgf.76.gmail; Tue, 08 Jul 2014 08:02:05 -0700 (PDT) X-Received: by 10.58.243.1 with SMTP id wu1mr35142655vec.27.1404831725283; Tue, 08 Jul 2014 08:02:05 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id c13si2877107vcv.20.2014.07.08.08.02.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Jul 2014 08:02:05 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) client-ip=209.85.220.181; Received: by mail-vc0-f181.google.com with SMTP id il7so5620186vcb.12 for ; Tue, 08 Jul 2014 08:02:05 -0700 (PDT) X-Received: by 10.58.234.103 with SMTP id ud7mr34712562vec.24.1404831725195; Tue, 08 Jul 2014 08:02:05 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp777752vcb; Tue, 8 Jul 2014 08:02:04 -0700 (PDT) X-Received: by 10.140.105.102 with SMTP id b93mr32216360qgf.3.1404831724737; Tue, 08 Jul 2014 08:02:04 -0700 (PDT) Received: from lists.gnu.org (lists.gnu.org. [208.118.235.17]) by mx.google.com with ESMTPS id w2si55734608qag.33.2014.07.08.08.02.04 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 08 Jul 2014 08:02:04 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; Received: from localhost ([::1]:56068 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4WuC-0002oz-HU for patch@linaro.org; Tue, 08 Jul 2014 11:02:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4Wtg-0002WG-UG for qemu-devel@nongnu.org; Tue, 08 Jul 2014 11:01:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4Wtf-00065A-VO for qemu-devel@nongnu.org; Tue, 08 Jul 2014 11:01:32 -0400 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:48796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4Wtf-000652-PE for qemu-devel@nongnu.org; Tue, 08 Jul 2014 11:01:31 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1X4Wtc-0003KT-Ai; Tue, 08 Jul 2014 16:01:28 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Date: Tue, 8 Jul 2014 16:01:28 +0100 Message-Id: <1404831688-12772-1-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:8b0:1d0::1 Cc: Alexey Kardashevskiy , Alexander Graf Subject: [Qemu-devel] [for-2.1] hw/ppc/spapr_hcall.c: Add ULL suffix to 64 bit constant X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Add ULL suffix to 64 bit constant to prevent compiler warnings on some 32 bit platforms. Signed-off-by: Peter Maydell Reviewed-by: Alexander Graf --- Planning to commit this to master as a buildfix for rc1. hw/ppc/spapr_hcall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/ppc/spapr_hcall.c b/hw/ppc/spapr_hcall.c index 7952077..467858c 100644 --- a/hw/ppc/spapr_hcall.c +++ b/hw/ppc/spapr_hcall.c @@ -770,7 +770,7 @@ static target_ulong h_set_mode_resouce_addr_trans_mode(PowerPCCPU *cpu, prefix = 0x18000; break; case H_SET_MODE_ADDR_TRANS_C000_0000_0000_4000: - prefix = 0xC000000000004000; + prefix = 0xC000000000004000ULL; break; default: return H_UNSUPPORTED_FLAG;