Re: [PATCH] powerpc: Mark variable `cpumsr` as unused

2018-11-08 Thread Breno Leitao
Hi Mathieu, Christophe Thanks for spotting and fixing this bug. On 11/08/2018 05:25 AM, Mathieu Malaterre wrote: > On Thu, Nov 8, 2018 at 7:09 AM Christophe Leroy > wrote: >> >> >> >> On 11/07/2018 08:26 PM, Mathieu Malaterre wrote: >>> Add gcc attribute unused for `cpumsr` variable. >>> >>>

Re: [PATCH] powerpc: Mark variable `cpumsr` as unused

2018-11-07 Thread Mathieu Malaterre
On Thu, Nov 8, 2018 at 7:09 AM Christophe Leroy wrote: > > > > On 11/07/2018 08:26 PM, Mathieu Malaterre wrote: > > Add gcc attribute unused for `cpumsr` variable. > > > > Fix warnings treated as errors with W=1: > > > >arch/powerpc/kernel/process.c:231:16: error: variable ‘cpumsr’ set but >

Re: [PATCH] powerpc: Mark variable `cpumsr` as unused

2018-11-07 Thread Christophe Leroy
On 11/07/2018 08:26 PM, Mathieu Malaterre wrote: Add gcc attribute unused for `cpumsr` variable. Fix warnings treated as errors with W=1: arch/powerpc/kernel/process.c:231:16: error: variable ‘cpumsr’ set but not used [-Werror=unused-but-set-variable]

[PATCH] powerpc: Mark variable `cpumsr` as unused

2018-11-07 Thread Mathieu Malaterre
Add gcc attribute unused for `cpumsr` variable. Fix warnings treated as errors with W=1: arch/powerpc/kernel/process.c:231:16: error: variable ‘cpumsr’ set but not used [-Werror=unused-but-set-variable] arch/powerpc/kernel/process.c:296:16: error: variable ‘cpumsr’ set but not used