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
1 changed files with 2 additions and 2 deletions
|
@ -3193,10 +3193,10 @@ qla2x00_remove_one(struct pci_dev *pdev)
|
||||||
|
|
||||||
qla2x00_free_device(base_vha);
|
qla2x00_free_device(base_vha);
|
||||||
|
|
||||||
scsi_host_put(base_vha->host);
|
|
||||||
|
|
||||||
qla2x00_clear_drv_active(ha);
|
qla2x00_clear_drv_active(ha);
|
||||||
|
|
||||||
|
scsi_host_put(base_vha->host);
|
||||||
|
|
||||||
qla2x00_unmap_iobases(ha);
|
qla2x00_unmap_iobases(ha);
|
||||||
|
|
||||||
pci_release_selected_regions(ha->pdev, ha->bars);
|
pci_release_selected_regions(ha->pdev, ha->bars);
|
||||||
|
|
Loading…
Reference in a new issue