projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de187df
)
qla2xxx: Unload of qla2xxx driver crashes the machine.
author
Arun Easi
<arun.easi@qlogic.com>
Thu, 25 Sep 2014 09:16:51 +0000
(
05:16
-0400)
committer
Christoph Hellwig
<hch@lst.de>
Thu, 25 Sep 2014 12:25:03 +0000
(14:25 +0200)
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>
drivers/scsi/qla2xxx/qla_os.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_os.c
b/drivers/scsi/qla2xxx/qla_os.c
index 0f9dcf61c13a6b85d5b7f8d6d40af62ede663c73..4880f0b2daa3f4142f4d9ab794d283cda1a327a1 100644
(file)
--- 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);