]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ipmi:ssif: NULL thread on error
authorCorey Minyard <corey@minyard.net>
Tue, 21 Apr 2026 11:50:22 +0000 (06:50 -0500)
committerCorey Minyard <corey@minyard.net>
Tue, 28 Apr 2026 17:59:15 +0000 (12:59 -0500)
commita8aebe93a4938c0ca1941eeaae821738f869be3d
tree7bc2c1899aa21dccee36a261e1f4b50326ad6e6a
parent09dd798270ff582d7309f285d4aaf5dbebae01cb
ipmi:ssif: NULL thread on error

Cleanup code was checking the thread for NULL, but it was possibly
a PTR_ERR() in one spot.

Spotted with static analysis.

Link: https://sourceforge.net/p/openipmi/mailman/message/59324676/
Fixes: 75c486cb1bca ("ipmi:ssif: Clean up kthread on errors")
Cc: <stable@vger.kernel.org> # 91eb7ec72612: ipmi:ssif: Remove unnecessary indention
Cc: stable@vger.kernel.org
Signed-off-by: Corey Minyard <corey@minyard.net>
drivers/char/ipmi/ipmi_ssif.c