]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ipmi:si: Don't block module unload if the BMC is messed up
authorCorey Minyard <corey@minyard.net>
Fri, 13 Feb 2026 03:52:48 +0000 (21:52 -0600)
committerCorey Minyard <corey@minyard.net>
Mon, 23 Feb 2026 14:58:31 +0000 (08:58 -0600)
commitf895e5df80316a308c2f7d64d13a78494630ea05
treeb46fd9583345cfc0150137b17b307b1acbecf067
parentc3bb3295637cc9bf514f690941ca9a385bf30113
ipmi:si: Don't block module unload if the BMC is messed up

If the BMC is in a bad state, don't bother waiting for queues messages
since there can't be any.  Otherwise the unload is blocked until the
BMC is back in a good state.

Reported-by: Rafael J. Wysocki <rafael@kernel.org>
Fixes: bc3a9d217755 ("ipmi:si: Gracefully handle if the BMC is non-functional")
Cc: stable@vger.kernel.org # 4.18
Signed-off-by: Corey Minyard <corey@minyard.net>
Reviewed-by: Rafael J. Wysocki (Intel) <rafael@kernel.org>
drivers/char/ipmi/ipmi_si_intf.c