summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pm8001
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2023-09-02 08:25:19 +0100
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2023-09-02 08:25:19 +0100
commite03843a0f0bceb7ecff78584b242aad94fc0c64f (patch)
treee167641e618abf1a58066dd8279a05312db87880 /drivers/scsi/pm8001
parent1451455e6ffb62ff421ebc9d6da4552b02474b3a (diff)
parent812fe6420a6e789db68f18cdb25c5c89f4561334 (diff)
downloadlinux-stable-e03843a0f0bceb7ecff78584b242aad94fc0c64f.tar.gz
linux-stable-e03843a0f0bceb7ecff78584b242aad94fc0c64f.tar.bz2
linux-stable-e03843a0f0bceb7ecff78584b242aad94fc0c64f.zip
Merge branch 'fixes' into misc
Diffstat (limited to 'drivers/scsi/pm8001')
-rw-r--r--drivers/scsi/pm8001/pm8001_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/pm8001/pm8001_init.c b/drivers/scsi/pm8001/pm8001_init.c
index 8ed3bb1f698a..5e5ce1e74c3b 100644
--- a/drivers/scsi/pm8001/pm8001_init.c
+++ b/drivers/scsi/pm8001/pm8001_init.c
@@ -1178,7 +1178,8 @@ static int pm8001_pci_probe(struct pci_dev *pdev,
pm80xx_set_thermal_config(pm8001_ha);
}
- if (pm8001_init_sas_add(pm8001_ha))
+ rc = pm8001_init_sas_add(pm8001_ha);
+ if (rc)
goto err_out_shost;
/* phy setting support for motherboard controller */
rc = pm8001_configure_phy_settings(pm8001_ha);