From patchwork Wed Mar 19 21:27:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 26613 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f199.google.com (mail-pd0-f199.google.com [209.85.192.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B3BCA20534 for ; Wed, 19 Mar 2014 21:30:28 +0000 (UTC) Received: by mail-pd0-f199.google.com with SMTP id x10sf22301292pdj.2 for ; Wed, 19 Mar 2014 14:30:28 -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=2NJBEMNafb4tf6pEUdso6Sl+3ZH32urp5yz3PSGrCU8=; b=EuXuKu0R0E7nT8qfLR0tIZ7xDG7lmBKvAwt0CegmQHDBPFN/5uK/8vZqT3b5BlanBd /5LGPO9IEAAPSuXP1e9TGuTGyzBO+V5zO/vsx1cwFLOZMypln5mqx808C0wrYkW050et W/zcFWje4jQyBkAfq19nehUJNBAS0R/5YeW5ME6oeRJXTF5be56b5XqGBx1BMChUwJkR 2bRL5Xxjh4Nlzy9LexZdnTGMqm5IK9H3M2XrRoZlndb0vjU4X5zu6TOx0Huad2ZYIhcI aYaGDCzrz9jgrR7BxxhfMJQxhG5zlLQbR/tw92RurQ40Gbd5+GF4/CGfIuoarOdRBes9 5h8w== X-Gm-Message-State: ALoCoQkdeXpiRh6DqXND8Ht7YpiGPZFPyIG8QKKpNpIMQ8rF4xh5kKKTWiJ+io3SXwa7WnDUX2tH X-Received: by 10.68.134.233 with SMTP id pn9mr15824143pbb.5.1395264628013; Wed, 19 Mar 2014 14:30:28 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.24.110 with SMTP id 101ls2207323qgq.88.gmail; Wed, 19 Mar 2014 14:30:27 -0700 (PDT) X-Received: by 10.220.48.194 with SMTP id s2mr466380vcf.43.1395264627861; Wed, 19 Mar 2014 14:30:27 -0700 (PDT) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by mx.google.com with ESMTPS id n8si60885vca.185.2014.03.19.14.30.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Mar 2014 14:30:27 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.172; Received: by mail-ve0-f172.google.com with SMTP id jx11so9696126veb.3 for ; Wed, 19 Mar 2014 14:30:27 -0700 (PDT) X-Received: by 10.221.34.211 with SMTP id st19mr31874876vcb.5.1395264627759; Wed, 19 Mar 2014 14:30:27 -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 i9csp336351vck; Wed, 19 Mar 2014 14:30:27 -0700 (PDT) X-Received: by 10.140.24.151 with SMTP id 23mr44343064qgr.11.1395264627267; Wed, 19 Mar 2014 14:30:27 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id y4si137367qad.101.2014.03.19.14.30.26 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 19 Mar 2014 14:30:27 -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 1WQO2D-0000Vp-Fk; Wed, 19 Mar 2014 21:28:25 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WQO20-0000VY-Ld for xen-devel@lists.xenproject.org; Wed, 19 Mar 2014 21:28:24 +0000 Received: from [85.158.137.68:27681] by server-2.bemta-3.messagelabs.com id 8C/D3-23530-BEB0A235; Wed, 19 Mar 2014 21:28:11 +0000 X-Env-Sender: julien.grall@linaro.org X-Msg-Ref: server-3.tower-31.messagelabs.com!1395264491!1705791!1 X-Originating-IP: [74.125.83.52] 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 316 invoked from network); 19 Mar 2014 21:28:11 -0000 Received: from mail-ee0-f52.google.com (HELO mail-ee0-f52.google.com) (74.125.83.52) by server-3.tower-31.messagelabs.com with RC4-SHA encrypted SMTP; 19 Mar 2014 21:28:11 -0000 Received: by mail-ee0-f52.google.com with SMTP id e49so7124378eek.11 for ; Wed, 19 Mar 2014 14:28:09 -0700 (PDT) X-Received: by 10.15.22.65 with SMTP id e41mr37473969eeu.5.1395264487419; Wed, 19 Mar 2014 14:28:07 -0700 (PDT) Received: from belegaer.uk.xensource.com. ([185.25.64.249]) by mx.google.com with ESMTPSA id m42sm57321292eex.21.2014.03.19.14.28.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Mar 2014 14:28:06 -0700 (PDT) From: Julien Grall To: xen-devel@lists.xenproject.org Date: Wed, 19 Mar 2014 21:27:49 +0000 Message-Id: <1395264469-17362-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 v2] 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.128.172 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 --- Changes in v2: - Fix another typo in the guard --- 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..ea941e7 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_EXYNOS5_H #define EXYNOS5_MCT_BASE 0x101c0000 #define EXYNOS5_MCT_G_TCON 0x240 /* Relative to MCT_BASE */