Re: powerpc/mm: remove warning about âtypeâ being set
From: Michael Ellerman
Date: Mon Aug 13 2018 - 07:23:13 EST
On Fri, 2018-06-22 at 19:27:47 UTC, Mathieu Malaterre wrote:
> â??typeâ?? is only used when CONFIG_DEBUG_HIGHMEM is set. So add a possibly
> unused tag to variable. Remove warning treated as error with W=1:
>
> arch/powerpc/mm/highmem.c:59:6: error: variable â??typeâ?? set but not used [-Werror=unused-but-set-variable]
>
> Signed-off-by: Mathieu Malaterre <malat@xxxxxxxxxx>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/fce278af81daf8599f9e94883cbe43
cheers