[PATCH] powerpc: arch/powerpc/kernel/setup_64.c - cleanup warnings
Michael Ellerman
patch-notifications at ellerman.id.au
Wed Mar 31 12:09:40 AEDT 2021
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
More information about the Linuxppc-dev
mailing list