diff options
| author | Tianjia Zhang <[email protected]> | 2020-10-05 14:52:12 +0000 |
|---|---|---|
| committer | Corey Minyard <[email protected]> | 2020-10-05 18:30:51 +0000 |
| commit | 8fe7990ceda8597e407d06bffc4bdbe835a93ece (patch) | |
| tree | 9fc39a700cff5f57f3f5a2e8c8d51f84dec540b2 /drivers/usb/cdns3/cdns3-imx.c | |
| parent | ipmi: msghandler: Fix a signedness bug (diff) | |
| download | kernel-8fe7990ceda8597e407d06bffc4bdbe835a93ece.tar.gz kernel-8fe7990ceda8597e407d06bffc4bdbe835a93ece.zip | |
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 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions
