diff options
author | Zhang Qilong <zhangqilong3@huawei.com> | 2020-12-05 19:55:51 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-29 13:42:39 +0100 |
commit | 15b5e2f535dd4982057006ffa3a8762b1fd68fad (patch) | |
tree | 210c716177f1938adcb18e6a97edd8d6f6659e0f /include/linux/trace_seq.h | |
parent | 4e3a8c4e6069bf55742516f4270c9def7030062e (diff) |
scsi: pm80xx: Fix error return in pm8001_pci_probe()
[ Upstream commit 97031ccffa4f62728602bfea8439dd045cd3aeb2 ]
The driver did not return an error in the case where
pm8001_configure_phy_settings() failed.
Use rc to store the return value of pm8001_configure_phy_settings().
Link: https://lore.kernel.org/r/20201205115551.2079471-1-zhangqilong3@huawei.com
Fixes: 279094079a44 ("[SCSI] pm80xx: Phy settings support for motherboard controller.")
Acked-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/trace_seq.h')
0 files changed, 0 insertions, 0 deletions