diff options
author | Corey Minyard <cminyard@mvista.com> | 2005-09-06 15:18:42 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 16:57:48 -0700 |
commit | 56a55ec64806fb56e0cd43b0f726020b74c6689b (patch) | |
tree | ccb6709a781bdfaf774aa7774f0c22b6bbc923e8 /include | |
parent | 1fdd75bd6cfa60a54b6db91d9256a711ab52fef3 (diff) | |
download | op-kernel-dev-56a55ec64806fb56e0cd43b0f726020b74c6689b.zip op-kernel-dev-56a55ec64806fb56e0cd43b0f726020b74c6689b.tar.gz |
[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')
-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 dd30ade..938d55b 100644 --- a/include/linux/ipmi.h +++ b/include/linux/ipmi.h @@ -242,7 +242,8 @@ struct ipmi_recv_msg /* The user_msg_data is the data supplied when a message was sent, if this is a response to a sent message. If this is not a response to a sent message, then user_msg_data will - be NULL. */ + be NULL. If the user above is NULL, then this will be the + intf. */ void *user_msg_data; /* Call this when done with the message. It will presumably free |