projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scsi: hisi_sas: Return directly if init hardware failed
[platform/kernel/linux-rpi.git]
/
drivers
/
scsi
/
hisi_sas
/
hisi_sas_v3_hw.c
diff --git
a/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
b/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
index
c4f76d7
..
723f51c
100644
(file)
--- a/
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
+++ b/
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
@@
-3423,6
+3423,7
@@
static int hisi_sas_v3_resume(struct pci_dev *pdev)
if (rc) {
scsi_remove_host(shost);
pci_disable_device(pdev);
+ return rc;
}
hisi_hba->hw->phys_init(hisi_hba);
sas_resume_ha(sha);