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

Michael Ellerman patch-notifications at ellerman.id.au
Fri May 25 21:41:26 AEST 2018

On Wed, 2018-04-04 at 20:07:46 UTC, Mathieu Malaterre wrote:
> 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]
> Suggested-by: Christophe Leroy <christophe.leroy at c-s.fr>
> Signed-off-by: Mathieu Malaterre <malat at debian.org>

Applied to powerpc next, thanks.



More information about the Linuxppc-dev mailing list