Skip to content

Commit 5017b1b

Browse files
committed
ipmi: Add a note about the pretimeout callback
You can't do IPMI calls from the callback, it's called with locks held. Signed-off-by: Corey Minyard <cminyard@mvista.com>
1 parent b2b69ee commit 5017b1b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

include/linux/ipmi.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ struct ipmi_user_hndl {
9393

9494
/*
9595
* Called when the interface detects a watchdog pre-timeout. If
96-
* this is NULL, it will be ignored for the user.
96+
* this is NULL, it will be ignored for the user. Note that you
97+
* can't do any IPMI calls from here, it's called with locks held.
9798
*/
9899
void (*ipmi_watchdog_pretimeout)(void *handler_data);
99100

0 commit comments

Comments
 (0)