Re: [PATCH v2 4/5] powerpc: Fix duplicate const clang warning in user access code

2018-09-20 Thread Michael Ellerman
Christophe LEROY writes: > Le 19/09/2018 à 09:45, Joel Stanley a écrit : >> On Sat, 15 Sep 2018 at 03:27, Nick Desaulniers >> wrote: >>> >>> On Thu, Sep 13, 2018 at 9:07 PM Joel Stanley wrote: From: Anton Blanchard This re-applies b91c1e3e7a6f which was reverted in

Re: [PATCH v2 4/5] powerpc: Fix duplicate const clang warning in user access code

2018-09-19 Thread Christophe LEROY
Le 19/09/2018 à 09:45, Joel Stanley a écrit : On Sat, 15 Sep 2018 at 03:27, Nick Desaulniers wrote: On Thu, Sep 13, 2018 at 9:07 PM Joel Stanley wrote: From: Anton Blanchard This re-applies b91c1e3e7a6f which was reverted in f2ca80905929 d466f6c5cac1 f84ed59a612d (powerpc/sparse:

Re: [PATCH v2 4/5] powerpc: Fix duplicate const clang warning in user access code

2018-09-19 Thread Joel Stanley
On Sat, 15 Sep 2018 at 03:27, Nick Desaulniers wrote: > > On Thu, Sep 13, 2018 at 9:07 PM Joel Stanley wrote: > > > > From: Anton Blanchard > > > > This re-applies b91c1e3e7a6f which was reverted in f2ca80905929 > > d466f6c5cac1 f84ed59a612d (powerpc/sparse: Constify the address pointer > >

[PATCH v2 4/5] powerpc: Fix duplicate const clang warning in user access code

2018-09-13 Thread Joel Stanley
From: Anton Blanchard This re-applies b91c1e3e7a6f which was reverted in f2ca80905929 d466f6c5cac1 f84ed59a612d (powerpc/sparse: Constify the address pointer ..."). We see a large number of duplicate const errors in the user access code when building with llvm/clang: