aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/ipmi/ipmi_msghandler.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/ipmi/ipmi_msghandler.c')
-rw-r--r--drivers/char/ipmi/ipmi_msghandler.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c
index 23028559dbc4..b03ddab1bef5 100644
--- a/drivers/char/ipmi/ipmi_msghandler.c
+++ b/drivers/char/ipmi/ipmi_msghandler.c
@@ -3674,7 +3674,7 @@ static void send_panic_events(char *str)
3674} 3674}
3675#endif /* CONFIG_IPMI_PANIC_EVENT */ 3675#endif /* CONFIG_IPMI_PANIC_EVENT */
3676 3676
3677static int has_paniced = 0; 3677static int has_panicked = 0;
3678 3678
3679static int panic_event(struct notifier_block *this, 3679static int panic_event(struct notifier_block *this,
3680 unsigned long event, 3680 unsigned long event,
@@ -3683,9 +3683,9 @@ static int panic_event(struct notifier_block *this,
3683 int i; 3683 int i;
3684 ipmi_smi_t intf; 3684 ipmi_smi_t intf;
3685 3685
3686 if (has_paniced) 3686 if (has_panicked)
3687 return NOTIFY_DONE; 3687 return NOTIFY_DONE;
3688 has_paniced = 1; 3688 has_panicked = 1;
3689 3689
3690 /* For every registered interface, set it to run to completion. */ 3690 /* For every registered interface, set it to run to completion. */
3691 for (i = 0; i < MAX_IPMI_INTERFACES; i++) { 3691 for (i = 0; i < MAX_IPMI_INTERFACES; i++) {