android_kernel_motorola_sm6225/drivers/scsi/mpt3sas
Joe Lawrence cf9bd21a41 [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 <joe.lawrence@stratus.com>
Acked-by: Sreekanth Reddy <Sreekanth.Reddy@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-08-26 18:53:45 +04:00
..
mpi [SCSI] mpt3sas: MPI2.5 Rev F v2.5.1.1 specification 2013-07-09 08:52:53 +01:00
Kconfig [SCSI] mpt3sas: 2013 source code copyright 2013-07-09 08:34:03 +01:00
Makefile [SCSI] mpt3sas: add new driver supporting 12GB SAS 2012-12-01 10:09:17 +00:00
mpt3sas_base.c [SCSI] mpt3sas: fix cleanup on controller resource mapping failure 2013-08-26 18:53:45 +04:00
mpt3sas_base.h [SCSI] mpt3sas: Bump driver version to v02.100.00.00 2013-07-09 09:01:47 +01:00
mpt3sas_config.c [SCSI] mpt3sas: 2013 source code copyright 2013-07-09 08:34:03 +01:00
mpt3sas_ctl.c [SCSI] mpt3sas: 2013 source code copyright 2013-07-09 08:34:03 +01:00
mpt3sas_ctl.h [SCSI] mpt3sas: 2013 source code copyright 2013-07-09 08:34:03 +01:00
mpt3sas_debug.h [SCSI] mpt3sas: 2013 source code copyright 2013-07-09 08:34:03 +01:00
mpt3sas_scsih.c [SCSI] mpt3sas: fix cleanup on controller resource mapping failure 2013-08-26 18:53:45 +04:00
mpt3sas_transport.c [SCSI] mpt3sas: 2013 source code copyright 2013-07-09 08:34:03 +01:00
mpt3sas_trigger_diag.c [SCSI] mpt3sas: 2013 source code copyright 2013-07-09 08:34:03 +01:00
mpt3sas_trigger_diag.h [SCSI] mpt3sas: 2013 source code copyright 2013-07-09 08:34:03 +01:00