From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH] xen/arm: Guard correctly asm-arm/platforms/exynos5.h Date: Wed, 19 Mar 2014 21:27:03 +0000 Message-ID: <532A0BA7.4020405@linaro.org> References: <1395264146-12698-1-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WQO12-0000RC-QA for xen-devel@lists.xenproject.org; Wed, 19 Mar 2014 21:27:12 +0000 Received: by mail-ee0-f45.google.com with SMTP id d17so7120917eek.4 for ; Wed, 19 Mar 2014 14:27:05 -0700 (PDT) In-Reply-To: <1395264146-12698-1-git-send-email-julien.grall@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: xen-devel@lists.xenproject.org, tim@xen.org, ian.campbell@citrix.com, stefano.stabellini@citrix.com List-Id: xen-devel@lists.xenproject.org On 03/19/2014 09:22 PM, Julien Grall wrote: > 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 Actually there was 2 errors in guard. I have sent another version. -- Julien Grall