aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/char/ipmi/ipmi_msghandler.c4
-rw-r--r--drivers/char/ipmi/ipmi_si_intf.c3
-rw-r--r--include/linux/ipmi_smi.h9
3 files changed, 7 insertions, 9 deletions
diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c
index b705218fbbfa..5fa83f751378 100644
--- a/drivers/char/ipmi/ipmi_msghandler.c
+++ b/drivers/char/ipmi/ipmi_msghandler.c
@@ -1516,7 +1516,7 @@ static void smi_send(ipmi_smi_t intf, struct ipmi_smi_handlers *handlers,
1516 spin_unlock_irqrestore(&intf->xmit_msgs_lock, flags); 1516 spin_unlock_irqrestore(&intf->xmit_msgs_lock, flags);
1517 1517
1518 if (smi_msg) 1518 if (smi_msg)
1519 handlers->sender(intf->send_info, smi_msg, 0); 1519 handlers->sender(intf->send_info, smi_msg);
1520} 1520}
1521 1521
1522/* 1522/*
@@ -3908,7 +3908,7 @@ static void smi_recv_tasklet(unsigned long val)
3908 if (!run_to_completion) 3908 if (!run_to_completion)
3909 spin_unlock_irqrestore(&intf->xmit_msgs_lock, flags); 3909 spin_unlock_irqrestore(&intf->xmit_msgs_lock, flags);
3910 if (newmsg) 3910 if (newmsg)
3911 intf->handlers->sender(intf->send_info, newmsg, 0); 3911 intf->handlers->sender(intf->send_info, newmsg);
3912 3912
3913 handle_new_recv_msgs(intf); 3913 handle_new_recv_msgs(intf);
3914} 3914}
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c
index d31a7fce2260..4f11301a0c42 100644
--- a/drivers/char/ipmi/ipmi_si_intf.c
+++ b/drivers/char/ipmi/ipmi_si_intf.c
@@ -892,8 +892,7 @@ static void check_start_timer_thread(struct smi_info *smi_info)
892} 892}
893 893
894static void sender(void *send_info, 894static void sender(void *send_info,
895 struct ipmi_smi_msg *msg, 895 struct ipmi_smi_msg *msg)
896 int priority)
897{ 896{
898 struct smi_info *smi_info = send_info; 897 struct smi_info *smi_info = send_info;
899 enum si_sm_result result; 898 enum si_sm_result result;
diff --git a/include/linux/ipmi_smi.h b/include/linux/ipmi_smi.h
index 6131845016d9..0b1e569f5ff5 100644
--- a/include/linux/ipmi_smi.h
+++ b/include/linux/ipmi_smi.h
@@ -98,12 +98,11 @@ struct ipmi_smi_handlers {
98 operation is not allowed to fail. If an error occurs, it 98 operation is not allowed to fail. If an error occurs, it
99 should report back the error in a received message. It may 99 should report back the error in a received message. It may
100 do this in the current call context, since no write locks 100 do this in the current call context, since no write locks
101 are held when this is run. If the priority is > 0, the 101 are held when this is run. Message are delivered one at
102 message will go into a high-priority queue and be sent 102 a time by the message handler, a new message will not be
103 first. Otherwise, it goes into a normal-priority queue. */ 103 delivered until the previous message is returned. */
104 void (*sender)(void *send_info, 104 void (*sender)(void *send_info,
105 struct ipmi_smi_msg *msg, 105 struct ipmi_smi_msg *msg);
106 int priority);
107 106
108 /* Called by the upper layer to request that we try to get 107 /* Called by the upper layer to request that we try to get
109 events from the BMC we are attached to. */ 108 events from the BMC we are attached to. */