Re: [PATCH] powerpc: arch/powerpc/kernel/setup_64.c - cleanup warnings

From: Michael Ellerman
Date: Tue Mar 30 2021 - 21:11:05 EST


On Tue, 16 Mar 2021 00:11:48 -0400, He Ying wrote:
> warning: symbol 'rfi_flush' was not declared.
> warning: symbol 'entry_flush' was not declared.
> warning: symbol 'uaccess_flush' was not declared.
> We found warnings above in arch/powerpc/kernel/setup_64.c by using
> sparse tool.
>
> Define 'entry_flush' and 'uaccess_flush' as static because they are not
> referenced outside the file. Include asm/security_features.h in which
> 'rfi_flush' is declared.

Applied to powerpc/next.

[1/1] powerpc: arch/powerpc/kernel/setup_64.c - cleanup warnings
https://git.kernel.org/powerpc/c/d2313da4ff56bd631a3afe7a17992ed5bd0e04a6

cheers