[PATCH v3 -next] powerpc/powermac: Fix symbol not declared warnings
Michael Ellerman
patch-notifications at ellerman.id.au
Wed Nov 30 20:24:14 AEDT 2022
On Thu, 3 Nov 2022 15:01:22 +0800, Chen Lifu wrote:
> 1. ppc_override_l2cr and ppc_override_l2cr_value are only used in
> l2cr_init() function, remove them and used *l2cr directly.
> 2. has_l2cache is not used outside of the file, so mark it static and
> do not initialise statics to 0.
>
> Fixes the following warning:
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/powermac: Fix symbol not declared warnings
https://git.kernel.org/powerpc/c/59dc2d94bc12dac53a5d2368ad97ca24e7cc5682
cheers
More information about the Linuxppc-dev
mailing list