Re: [v3,03/19] powerpc: Move `path` variable inside DEBUG_PROM
From: Michael Ellerman
Date: Mon Aug 13 2018 - 07:24:18 EST
On Wed, 2018-04-04 at 20:08:35 UTC, Mathieu Malaterre wrote:
> Add gcc attribute unused for two variables. Fix warnings treated as errors
> with W=1:
>
> arch/powerpc/kernel/prom_init.c:1388:8: error: variable â??pathâ?? set but not used [-Werror=unused-but-set-variable]
>
> Suggested-by: Christophe Leroy <christophe.leroy@xxxxxx>
> Signed-off-by: Mathieu Malaterre <malat@xxxxxxxxxx>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/eab00a208eb63d863b6cc0a03f68b4
cheers