[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xen/arm: Guard correctly asm-arm/platforms/exynos5.h
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 <julien.grall@xxxxxxxxxx> > --- > 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 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |