aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorJoe Lawrence <[email protected]>2013-08-08 20:45:39 +0000
committerJames Bottomley <[email protected]>2013-08-26 14:53:45 +0000
commitcf9bd21a41bd999ac6a0b72b549839e218ad5f31 (patch)
treea92825d8db84b4d9bc6f0b02c3855a2f6bf1f6ea /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent[SCSI] mpt2sas: fix cleanup on controller resource mapping failure (diff)
downloadkernel-cf9bd21a41bd999ac6a0b72b549839e218ad5f31.tar.gz
kernel-cf9bd21a41bd999ac6a0b72b549839e218ad5f31.zip
[SCSI] mpt3sas: fix cleanup on controller resource mapping failure
If mpt3sas_base_map_resources takes an early error path then its counterpart, mpt3sas_base_free_resources needs to be careful about cleaning up: 1 - _base_mask_interrupts and _base_make_ioc_ready require memory mapped I/O registers, make sure that this is true. 2 - _base_free_irq iterates over the adapter's reply_queue_list, so move this list head initialization out of _base_enable_msix to _scsih_probe so this will always be safe. 3 - check that the controller PCI device and its BARs have been enabled before disabling them. Signed-off-by: Joe Lawrence <[email protected]> Acked-by: Sreekanth Reddy <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions