diff options
author | 2020-12-05 19:55:51 +0800 | |
---|---|---|
committer | 2020-12-07 17:35:10 -0500 | |
commit | 97031ccffa4f62728602bfea8439dd045cd3aeb2 (patch) | |
tree | 2948623c364b5567bc0506eabda0f86e6c2f6bfa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: qedi: Fix missing destroy_workqueue() on error in __qedi_probe (diff) | |
download | wireguard-linux-97031ccffa4f62728602bfea8439dd045cd3aeb2.tar.xz wireguard-linux-97031ccffa4f62728602bfea8439dd045cd3aeb2.zip |
scsi: pm80xx: Fix error return in pm8001_pci_probe()
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions