commit | 8fe7990ceda8597e407d06bffc4bdbe835a93ece | [log] [tgz] |
---|---|---|
author | Tianjia Zhang <tianjia.zhang@linux.alibaba.com> | Mon Oct 05 22:52:12 2020 +0800 |
committer | Corey Minyard <cminyard@mvista.com> | Mon Oct 05 13:30:51 2020 -0500 |
tree | 9fc39a700cff5f57f3f5a2e8c8d51f84dec540b2 | |
parent | c011410d9145695c460567fa5ba1ade6a7b16f06 [diff] |
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: 90b2d4f15ff7 ("ipmi_si: Remove hacks for adding a dummy platform devices") Cc: Corey Minyard <cminyard@mvista.com> Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com> Message-Id: <20201005145212.84435-1-tianjia.zhang@linux.alibaba.com> Signed-off-by: Corey Minyard <cminyard@mvista.com>