Re: [PATCH 5/6] powerpc/sparse: Pass endianness to sparse

2016-07-04 Thread Arnd Bergmann
On Monday, July 4, 2016 5:09:41 PM CEST Daniel Axtens wrote: > --- > arch/powerpc/Makefile | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile > index 709a22a3e824..8617c71c3bdb 100644 > --- a/arch/powerpc/Makefile > +++ b/arch/powerpc/Makef

Re: [PATCH 5/6] powerpc/sparse: Pass endianness to sparse

2016-07-04 Thread Andrew Donnellan
On 04/07/16 17:09, Daniel Axtens wrote: Explicitly give sparse an endianness in the Makefile, so that it doesn't get confused. Normally we have #ifdef one and #else the other, so it doesn't usually matter, but we have been bitten by it before, and indeed this patch fixes a number of sparse error

[PATCH 5/6] powerpc/sparse: Pass endianness to sparse

2016-07-04 Thread Daniel Axtens
Explicitly give sparse an endianness in the Makefile, so that it doesn't get confused. Normally we have #ifdef one and #else the other, so it doesn't usually matter, but we have been bitten by it before, and indeed this patch fixes a number of sparse errors. Suggested-by: Arnd Bergmann Signed-of