diff options
author | Corey Minyard <cminyard@mvista.com> | 2005-09-06 18:18:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 19:57:48 -0400 |
commit | 56a55ec64806fb56e0cd43b0f726020b74c6689b (patch) | |
tree | ccb6709a781bdfaf774aa7774f0c22b6bbc923e8 /include/linux/ipmi.h | |
parent | 1fdd75bd6cfa60a54b6db91d9256a711ab52fef3 (diff) |
[PATCH] ipmi: fix panic ipmb response
The "null message handler" in the IPMI driver is used in startup and panic
situations to handle messages. It was only designed to work with messages
from the local management controller, but in some cases it was used to get
messages from remote managmenet controllers, and the system would then
panic. This patch makes the "null message handler" in the IPMI driver more
general so it works with any kind of message.
Signed-off-by: Corey Minyard <minyard@acm.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/ipmi.h')
-rw-r--r-- | include/linux/ipmi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/ipmi.h b/include/linux/ipmi.h index dd30adedd07..938d55b813a 100644 --- a/include/linux/ipmi.h +++ b/include/linux/ipmi.h | |||
@@ -242,7 +242,8 @@ struct ipmi_recv_msg | |||
242 | /* The user_msg_data is the data supplied when a message was | 242 | /* The user_msg_data is the data supplied when a message was |
243 | sent, if this is a response to a sent message. If this is | 243 | sent, if this is a response to a sent message. If this is |
244 | not a response to a sent message, then user_msg_data will | 244 | not a response to a sent message, then user_msg_data will |
245 | be NULL. */ | 245 | be NULL. If the user above is NULL, then this will be the |
246 | intf. */ | ||
246 | void *user_msg_data; | 247 | void *user_msg_data; |
247 | 248 | ||
248 | /* Call this when done with the message. It will presumably free | 249 | /* Call this when done with the message. It will presumably free |