diff options
| author | Xiang Chen <chenxiang66@hisilicon.com> | 2021-04-06 19:48:28 +0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-04-12 23:21:26 -0400 |
| commit | f467666504bf0c7eae95b929d0c86f77ff9b4356 (patch) | |
| tree | 9dede3b2af5b9215b92a97a721d8058013b85ad3 /scripts/gdb/linux/modules.py | |
| parent | 4da0b7f6fac331f2d2336df3ca88a335f545b4dc (diff) | |
scsi: hisi_sas: Call sas_unregister_ha() to roll back if .hw_init() fails
Function sas_unregister_ha() needs to be called to roll back if
hisi_hba->hw->hw_init() fails in function hisi_sas_probe() or
hisi_sas_v3_probe(). Make that change.
Link: https://lore.kernel.org/r/1617709711-195853-4-git-send-email-john.garry@huawei.com
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions
