diff options
author | Tianjia Zhang <tianjia.zhang@linux.alibaba.com> | 2020-10-05 17:52:12 +0300 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2020-10-05 21:30:51 +0300 |
commit | 8fe7990ceda8597e407d06bffc4bdbe835a93ece (patch) | |
tree | 9fc39a700cff5f57f3f5a2e8c8d51f84dec540b2 /include | |
parent | c011410d9145695c460567fa5ba1ade6a7b16f06 (diff) | |
download | linux-8fe7990ceda8597e407d06bffc4bdbe835a93ece.tar.xz |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions