mirror of https://gitee.com/openkylin/linux.git
qla2xxx: Unload of qla2xxx driver crashes the machine.
Signed-off-by: Arun Easi <arun.easi@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
de187df867
commit
d2749ffadb
|
@ -3193,10 +3193,10 @@ qla2x00_remove_one(struct pci_dev *pdev)
|
|||
|
||||
qla2x00_free_device(base_vha);
|
||||
|
||||
scsi_host_put(base_vha->host);
|
||||
|
||||
qla2x00_clear_drv_active(ha);
|
||||
|
||||
scsi_host_put(base_vha->host);
|
||||
|
||||
qla2x00_unmap_iobases(ha);
|
||||
|
||||
pci_release_selected_regions(ha->pdev, ha->bars);
|
||||
|
|
Loading…
Reference in New Issue