]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ipmi: Cleanup oops on initialization failure
authorCorey Minyard <cminyard@mvista.com>
Wed, 20 Jun 2018 12:19:01 +0000 (07:19 -0500)
committerCorey Minyard <cminyard@mvista.com>
Sun, 24 Jun 2018 23:11:38 +0000 (18:11 -0500)
commit2068db53b6337f8c6c7bcd07dea0b5e82b1a1a02
tree00a6bbd62f616ac557e1f8d39b81a7a8f66a09b6
parent9ffc59d57228d74809700be6f7ecb1db10292f05
ipmi: Cleanup oops on initialization failure

Commit 93c303d2045b3 "ipmi_si: Clean up shutdown a bit" didn't
copy the behavior of the cleanup in one spot, it needed to
check for a non-NULL interface before cleaning it up.

Reported-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Tested-by: Meelis Roos <mroos@linux.ee>
drivers/char/ipmi/ipmi_si_intf.c