From: Arun Easi Date: Thu, 25 Sep 2014 09:16:51 +0000 (-0400) Subject: qla2xxx: Unload of qla2xxx driver crashes the machine. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d2749ffadb4c76c04ad82645cc86a2fa39ceff3e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git qla2xxx: Unload of qla2xxx driver crashes the machine. Signed-off-by: Arun Easi Signed-off-by: Saurav Kashyap Signed-off-by: Christoph Hellwig --- diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 0f9dcf61c13a..4880f0b2daa3 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c @@ -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);