From patchwork Wed Mar 19 21:22:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 26612 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f199.google.com (mail-ig0-f199.google.com [209.85.213.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E2D1120534 for ; Wed, 19 Mar 2014 21:24:40 +0000 (UTC) Received: by mail-ig0-f199.google.com with SMTP id uy17sf298220igb.2 for ; Wed, 19 Mar 2014 14:24:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:cc:subject :precedence:list-id:list-unsubscribe:list-post:list-help :list-subscribe:mime-version:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:list-archive :content-type:content-transfer-encoding; bh=o/Mbb7xwB2CGPlhMBD0YMeyk9EKPLLQqzOKk8fMMMeo=; b=SvsYIAq23gHk34jnBG57LpbAOlebHCEG83whIRudXyoGC8ZENxBSNOJ3zCBirB0gV5 NZcGLp4Hw1qfxO4G2gMbiFLMbB5u2438FVqosEOHZEErf13npFd0FLXyhfRR7ztBuwU6 GzUlMpuaaF/vk06Ble0gF25a2Zoe8JpL1V20WGfPrzozZuWUa/T/ilVlO/xX6cKaR3yf WksTK19gp3vxl7tnd64/KnlNJamT1X5lGpyf6rhHmeE/PDIxlkWu83AsZmTyNZRYJTPY hlNM3PPKFNm6iTxqmBdhqr08kbexigTEj4LVkCzRv7lDeoG3VOGi0mZ4lK/bawqxleai b/Yg== X-Gm-Message-State: ALoCoQlRFoTEiKE/uxTcVyJnNa7gUJOzjJEWEaRDvFvv6DPZCLNqVOBGeEuCstSaQEHlBu7425Yj X-Received: by 10.182.65.168 with SMTP id y8mr1974351obs.38.1395264280312; Wed, 19 Mar 2014 14:24:40 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.91.131 with SMTP id z3ls2736910qgd.59.gmail; Wed, 19 Mar 2014 14:24:40 -0700 (PDT) X-Received: by 10.221.20.199 with SMTP id qp7mr13713829vcb.24.1395264280159; Wed, 19 Mar 2014 14:24:40 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id fi2si3841345vdb.190.2014.03.19.14.24.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Mar 2014 14:24:40 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id il7so9821955vcb.18 for ; Wed, 19 Mar 2014 14:24:40 -0700 (PDT) X-Received: by 10.220.131.210 with SMTP id y18mr32198133vcs.12.1395264280040; Wed, 19 Mar 2014 14:24:40 -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.220.78.9 with SMTP id i9csp336032vck; Wed, 19 Mar 2014 14:24:39 -0700 (PDT) X-Received: by 10.58.31.136 with SMTP id a8mr18582626vei.20.1395264279666; Wed, 19 Mar 2014 14:24:39 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id fv9si61114vcb.128.2014.03.19.14.24.39 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 19 Mar 2014 14:24:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xen.org designates 50.57.142.19 as permitted sender) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WQNwW-0000JP-Nb; Wed, 19 Mar 2014 21:22:32 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WQNwV-0000JK-I7 for xen-devel@lists.xenproject.org; Wed, 19 Mar 2014 21:22:31 +0000 Received: from [85.158.137.68:42373] by server-6.bemta-3.messagelabs.com id 84/A8-00470-69A0A235; Wed, 19 Mar 2014 21:22:30 +0000 X-Env-Sender: julien.grall@linaro.org X-Msg-Ref: server-3.tower-31.messagelabs.com!1395264150!1705387!1 X-Originating-IP: [74.125.83.48] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 6.11.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 20105 invoked from network); 19 Mar 2014 21:22:30 -0000 Received: from mail-ee0-f48.google.com (HELO mail-ee0-f48.google.com) (74.125.83.48) by server-3.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 19 Mar 2014 21:22:30 -0000 Received: by mail-ee0-f48.google.com with SMTP id b57so6373960eek.21 for ; Wed, 19 Mar 2014 14:22:30 -0700 (PDT) X-Received: by 10.15.32.206 with SMTP id a54mr37472408eev.51.1395264149897; Wed, 19 Mar 2014 14:22:29 -0700 (PDT) Received: from belegaer.uk.xensource.com. ([185.25.64.249]) by mx.google.com with ESMTPSA id m1sm57334440een.7.2014.03.19.14.22.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Mar 2014 14:22:29 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xenproject.org Date: Wed, 19 Mar 2014 21:22:26 +0000 Message-Id: <1395264146-12698-1-git-send-email-julien.grall@linaro.org> X-Mailer: git-send-email 1.7.10.4 Cc: stefano.stabellini@citrix.com, Julien Grall , tim@xen.org, ian.campbell@citrix.com Subject: [Xen-devel] [PATCH] xen/arm: Guard correctly asm-arm/platforms/exynos5.h X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: julien.grall@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) 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 List-Archive: Fix compilation with clang 3.5: /local/home/julien/works/arndale/xen/xen/include/asm/platforms/exynos5.h:1:9: error: '__ASM_ARM_PLATFORMS_EXYNOS5_H' is used as a header guard here, followed by #define of a different macro [-Werror,-Wheader-guard] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /local/home/julien/works/arndale/xen/xen/include/asm/platforms/exynos5.h:2:9: note: '__ASM_ASM_PLATFORMS_EXYSNO5_H' is defined here; did you mean '__ASM_ARM_PLATFORMS_EXYNOS5_H'? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __ASM_ARM_PLATFORMS_EXYNOS5_H Signed-off-by: Julien Grall --- xen/include/asm-arm/platforms/exynos5.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/include/asm-arm/platforms/exynos5.h b/xen/include/asm-arm/platforms/exynos5.h index af30608..2f0866d 100644 --- a/xen/include/asm-arm/platforms/exynos5.h +++ b/xen/include/asm-arm/platforms/exynos5.h @@ -1,5 +1,5 @@ #ifndef __ASM_ARM_PLATFORMS_EXYNOS5_H -#define __ASM_ASM_PLATFORMS_EXYSNO5_H +#define __ASM_ARM_PLATFORMS_EXYSNO5_H #define EXYNOS5_MCT_BASE 0x101c0000 #define EXYNOS5_MCT_G_TCON 0x240 /* Relative to MCT_BASE */