Re: [PATCH v2 01/19] powerpc/powermac: Mark variable x as unused

2018-04-04 Thread Mathieu Malaterre
On Thu, Mar 29, 2018 at 6:07 PM, LEROY Christophe wrote: > Mathieu Malaterre a écrit : > > >> Since the value of x is never intended to be read, declare it with gcc >> attribute as unused. Fix warning treated as error with W=1: >> >>

Re: [PATCH v2 01/19] powerpc/powermac: Mark variable x as unused

2018-04-04 Thread Mathieu Malaterre
On Thu, Mar 29, 2018 at 6:07 PM, LEROY Christophe wrote: > Mathieu Malaterre a écrit : > > >> Since the value of x is never intended to be read, declare it with gcc >> attribute as unused. Fix warning treated as error with W=1: >> >> arch/powerpc/platforms/powermac/bootx_init.c:471:21: error:

Re: [PATCH v2 01/19] powerpc/powermac: Mark variable x as unused

2018-03-29 Thread LEROY Christophe
Mathieu Malaterre a écrit : Since the value of x is never intended to be read, declare it with gcc attribute as unused. Fix warning treated as error with W=1: arch/powerpc/platforms/powermac/bootx_init.c:471:21: error: variable ‘x’ set but not used

Re: [PATCH v2 01/19] powerpc/powermac: Mark variable x as unused

2018-03-29 Thread LEROY Christophe
Mathieu Malaterre a écrit : Since the value of x is never intended to be read, declare it with gcc attribute as unused. Fix warning treated as error with W=1: arch/powerpc/platforms/powermac/bootx_init.c:471:21: error: variable ‘x’ set but not used [-Werror=unused-but-set-variable]

[PATCH v2 01/19] powerpc/powermac: Mark variable x as unused

2018-03-28 Thread Mathieu Malaterre
Since the value of x is never intended to be read, declare it with gcc attribute as unused. Fix warning treated as error with W=1: arch/powerpc/platforms/powermac/bootx_init.c:471:21: error: variable ‘x’ set but not used [-Werror=unused-but-set-variable] Signed-off-by: Mathieu Malaterre

[PATCH v2 01/19] powerpc/powermac: Mark variable x as unused

2018-03-28 Thread Mathieu Malaterre
Since the value of x is never intended to be read, declare it with gcc attribute as unused. Fix warning treated as error with W=1: arch/powerpc/platforms/powermac/bootx_init.c:471:21: error: variable ‘x’ set but not used [-Werror=unused-but-set-variable] Signed-off-by: Mathieu Malaterre ---