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 9f2f8fdec69a..586f1f81937a 100644
--- a/drivers/char/ipmi/ipmi_msghandler.c
+++ b/drivers/char/ipmi/ipmi_msghandler.c
@@ -3677,7 +3677,7 @@ static void send_panic_events(char *str)
3677} 3677}
3678#endif /* CONFIG_IPMI_PANIC_EVENT */ 3678#endif /* CONFIG_IPMI_PANIC_EVENT */
3679 3679
3680static int has_paniced = 0; 3680static int has_panicked = 0;
3681 3681
3682static int panic_event(struct notifier_block *this, 3682static int panic_event(struct notifier_block *this,
3683 unsigned long event, 3683 unsigned long event,
@@ -3686,9 +3686,9 @@ static int panic_event(struct notifier_block *this,
3686 int i; 3686 int i;
3687 ipmi_smi_t intf; 3687 ipmi_smi_t intf;
3688 3688
3689 if (has_paniced) 3689 if (has_panicked)
3690 return NOTIFY_DONE; 3690 return NOTIFY_DONE;
3691 has_paniced = 1; 3691 has_panicked = 1;
3692 3692
3693 /* For every registered interface, set it to run to completion. */ 3693 /* For every registered interface, set it to run to completion. */
3694 for (i = 0; i < MAX_IPMI_INTERFACES; i++) { 3694 for (i = 0; i < MAX_IPMI_INTERFACES; i++) {