mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
cciss: fix warning oops on rmmod of driver
* Fix oops on cciss rmmod due to calling pci_free_consistent with irqs disabled. Signed-off-by: Stephen M. Cameron <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
e14ac67026
commit
6195057f58
1 changed files with 1 additions and 1 deletions
|
|
@ -1349,9 +1349,9 @@ cciss_unregister_scsi(int ctlr)
|
|||
/* set scsi_host to NULL so our detect routine will
|
||||
find us on register */
|
||||
sa->scsi_host = NULL;
|
||||
spin_unlock_irqrestore(CCISS_LOCK(ctlr), flags);
|
||||
scsi_cmd_stack_free(ctlr);
|
||||
kfree(sa);
|
||||
spin_unlock_irqrestore(CCISS_LOCK(ctlr), flags);
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
|
|||
Loading…
Reference in a new issue