commit | 64887bbddae56cb808089a7b3d5247d1a71a1e7e | [log] [tgz] |
---|---|---|
author | Hanjun Guo <guohanjun@huawei.com> | Mon May 24 16:35:08 2021 +0800 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon May 24 16:27:34 2021 +0200 |
tree | f901d5114751f9e456522015d663f4f12b9a3167 | |
parent | f00d2d32cc6766fdc03ccfc865f08cc081df5b5f [diff] |
ACPI: ipmi: Remove address space handler in error path The acpi_install_address_space_handler() is coupled with acpi_remove_address_space_handler() in ipmi module init/exit, but it forgets to remove the handler in acpi_ipmi_init() if the ipmi_smi_watcher_register() call fails, so add the removal of the address space handler in error path. Signed-off-by: Hanjun Guo <guohanjun@huawei.com> [ rjw: Changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>