OSDN Git Service

powerpc/mce: Make symbol 'mce_ue_event_work' static
authorLi Huafei <lihuafei1@huawei.com>
Thu, 8 Apr 2021 03:58:02 +0000 (11:58 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 14 Apr 2021 13:04:13 +0000 (23:04 +1000)
commitf6f1f48e8b3b242dfa684d6e1b930d239d87533a
tree7b43487ef968df445ca018934e6631a68aa76d51
parent7f262b4dcf7edf75097c3946e676d6c6d77fc599
powerpc/mce: Make symbol 'mce_ue_event_work' static

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.

Signed-off-by: Li Huafei <lihuafei1@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210408035802.31853-1-lihuafei1@huawei.com
arch/powerpc/kernel/mce.c