Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ipmi_si: Fix wrong return value in try_smi_init()
On an error exit path, a negative error code should be returned instead of a positive return value. Fixes: 90b2d4f ("ipmi_si: Remove hacks for adding a dummy platform devices") Cc: Corey Minyard <[email protected]> Signed-off-by: Tianjia Zhang <[email protected]> Message-Id: <[email protected]> Signed-off-by: Corey Minyard <[email protected]>
- Loading branch information