mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 22:42:10 +00: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 <scameron@beardog.cca.cpqcorp.net> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
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
|
/* set scsi_host to NULL so our detect routine will
|
||||||
find us on register */
|
find us on register */
|
||||||
sa->scsi_host = NULL;
|
sa->scsi_host = NULL;
|
||||||
|
spin_unlock_irqrestore(CCISS_LOCK(ctlr), flags);
|
||||||
scsi_cmd_stack_free(ctlr);
|
scsi_cmd_stack_free(ctlr);
|
||||||
kfree(sa);
|
kfree(sa);
|
||||||
spin_unlock_irqrestore(CCISS_LOCK(ctlr), flags);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue