Skip to content
Snippets Groups Projects
Commit 8fe7990c authored by Tianjia Zhang's avatar Tianjia Zhang Committed by Corey Minyard
Browse files

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: 90b2d4f1 ("ipmi_si: Remove hacks for adding a dummy platform devices")
Cc: Corey Minyard <cminyard@mvista.com>
Signed-off-by: default avatarTianjia Zhang <tianjia.zhang@linux.alibaba.com>
Message-Id: <20201005145212.84435-1-tianjia.zhang@linux.alibaba.com>
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent c011410d
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment