diff options
author | Zhang Qilong <[email protected]> | 2020-12-05 19:55:51 +0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2020-12-07 17:35:10 -0500 |
commit | 97031ccffa4f62728602bfea8439dd045cd3aeb2 (patch) | |
tree | 2948623c364b5567bc0506eabda0f86e6c2f6bfa /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | 62eebd5247c4e4ce08826ad5995cf4dd7ce919dd (diff) |
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/[email protected]
Fixes: 279094079a44 ("[SCSI] pm80xx: Phy settings support for motherboard controller.")
Acked-by: Jack Wang <[email protected]>
Signed-off-by: Zhang Qilong <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions