Skip to content

Commit

Permalink
qla2xxx: Unload of qla2xxx driver crashes the machine.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arun Easi authored and Christoph Hellwig committed Sep 25, 2014
1 parent de187df commit d2749ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/scsi/qla2xxx/qla_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d2749ff

Please sign in to comment.