From: Corey Minyard Date: Wed, 19 Mar 2025 01:41:42 +0000 (-0500) Subject: ipmi: Add a note about the pretimeout callback X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=5017b1b02640234b08ad38a046043f143670dea2;p=users%2Fwilly%2Fxarray.git 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 --- diff --git a/include/linux/ipmi.h b/include/linux/ipmi.h index 2f74dd90c271..27cd5980bb27 100644 --- a/include/linux/ipmi.h +++ b/include/linux/ipmi.h @@ -93,7 +93,8 @@ struct ipmi_user_hndl { /* * Called when the interface detects a watchdog pre-timeout. If - * this is NULL, it will be ignored for the user. + * this is NULL, it will be ignored for the user. Note that you + * can't do any IPMI calls from here, it's called with locks held. */ void (*ipmi_watchdog_pretimeout)(void *handler_data);