android_kernel_motorola_sm6225/drivers/scsi/mpt2sas
Sreekanth Reddy 1c50e8d26e [SCSI] mpt2sas: Infinite loop can occur if MPI2_IOCSTATUS_CONFIG_INVALID_PAGE is not returned
Infinite loop can occur if IOCStatus is not equal to
MPI2_IOCSTATUS_CONFIG_INVALID_PAGE value in the while loops in functions
_scsih_search_responding_sas_devices,
_scsih_search_responding_raid_devices and
_scsih_search_responding_expanders

So, Instead of checking for MPI2_IOCSTATUS_CONFIG_INVALID_PAGE value,
in this patch code is modified to check for IOCStatus not equals to
MPI2_IOCSTATUS_SUCCESS to break the while loop.

Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2013-09-03 07:27:52 -07:00
..
mpi [SCSI] mpt2sas: MPI2 Rev X (2.00.16) specifications 2013-09-03 07:27:51 -07:00
Kconfig [SCSI] mpt2sas: 2012 source code copyright 2012-08-24 13:10:25 +04:00
Makefile [SCSI] mpt2sas v00.100.11.15 2009-03-13 16:08:49 -05:00
mpt2sas_base.c [SCSI] mpt2sas: The copyright in driver sources is updated for the year 2013 2013-09-03 07:27:51 -07:00
mpt2sas_base.h [SCSI] mpt2sas: The copyright in driver sources is updated for the year 2013 2013-09-03 07:27:51 -07:00
mpt2sas_config.c [SCSI] mpt2sas: The copyright in driver sources is updated for the year 2013 2013-09-03 07:27:51 -07:00
mpt2sas_ctl.c [SCSI] mpt2sas: The copyright in driver sources is updated for the year 2013 2013-09-03 07:27:51 -07:00
mpt2sas_ctl.h [SCSI] mpt2sas: The copyright in driver sources is updated for the year 2013 2013-09-03 07:27:51 -07:00
mpt2sas_debug.h [SCSI] mpt2sas: The copyright in driver sources is updated for the year 2013 2013-09-03 07:27:51 -07:00
mpt2sas_scsih.c [SCSI] mpt2sas: Infinite loop can occur if MPI2_IOCSTATUS_CONFIG_INVALID_PAGE is not returned 2013-09-03 07:27:52 -07:00
mpt2sas_transport.c [SCSI] mpt2sas: The copyright in driver sources is updated for the year 2013 2013-09-03 07:27:51 -07:00