diff options
author | Tianjia Zhang <[email protected]> | 2020-10-05 22:52:12 +0800 |
---|---|---|
committer | Corey Minyard <[email protected]> | 2020-10-05 13:30:51 -0500 |
commit | 8fe7990ceda8597e407d06bffc4bdbe835a93ece (patch) | |
tree | 9fc39a700cff5f57f3f5a2e8c8d51f84dec540b2 /tools/perf/scripts/python | |
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 <[email protected]>
Signed-off-by: Tianjia Zhang <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Corey Minyard <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions