[PATCH -next] powerpc/mce: Make symbol 'mce_ue_event_work' static

Michael Ellerman patch-notifications at ellerman.id.au
Mon Apr 19 13:59:50 AEST 2021


On Thu, 8 Apr 2021 11:58:02 +0800, Li Huafei wrote:
> The sparse tool complains as follows:
> 
> arch/powerpc/kernel/mce.c:43:1: warning:
>  symbol 'mce_ue_event_work' was not declared. Should it be static?
> 
> This symbol is not used outside of mce.c, so this commit marks it
> static.

Applied to powerpc/next.

[1/1] powerpc/mce: Make symbol 'mce_ue_event_work' static
      https://git.kernel.org/powerpc/c/f6f1f48e8b3b242dfa684d6e1b930d239d87533a

cheers


More information about the Linuxppc-dev mailing list