Commit f6f1f48e authored by Li Huafei's avatar Li Huafei Committed by Michael Ellerman

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: default avatarLi Huafei <lihuafei1@huawei.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210408035802.31853-1-lihuafei1@huawei.com
parent 7f262b4d
...@@ -40,7 +40,7 @@ static struct irq_work mce_ue_event_irq_work = { ...@@ -40,7 +40,7 @@ static struct irq_work mce_ue_event_irq_work = {
.func = machine_check_ue_irq_work, .func = machine_check_ue_irq_work,
}; };
DECLARE_WORK(mce_ue_event_work, machine_process_ue_event); static DECLARE_WORK(mce_ue_event_work, machine_process_ue_event);
static BLOCKING_NOTIFIER_HEAD(mce_notifier_list); static BLOCKING_NOTIFIER_HEAD(mce_notifier_list);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment