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

2018-03-23 Thread christophe leroy
Le 22/03/2018 à 21:19, 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

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

2018-03-22 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