Re: [PATCH] powerpc: Only define __parse_fpscr() when required
From: Michael Ellerman
Date: Sun Oct 15 2023 - 06:06:14 EST
On Fri, 22 Sep 2023 14:33:13 +0200, Christophe Leroy wrote:
> Clang 17 reports:
>
> arch/powerpc/kernel/traps.c:1167:19: error: unused function '__parse_fpscr' [-Werror,-Wunused-function]
>
> __parse_fpscr() is called from two sites. First call is guarded
> by #ifdef CONFIG_PPC_FPU_REGS
>
> [...]
Applied to powerpc/next.
[1/1] powerpc: Only define __parse_fpscr() when required
https://git.kernel.org/powerpc/c/c7e0d9bb9154c6e6b2ac8746faba27b53393f25e
cheers