aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt3sas/mpi/mpi2_init.h
diff options
context:
space:
mode:
authorSreekanth Reddy <[email protected]>2013-06-28 22:23:02 +0000
committerJames Bottomley <[email protected]>2013-07-09 07:48:54 +0000
commit14be49ac965ebd3f8561d57e01ddb22f93f9b454 (patch)
tree41b83ce266a980b762764151fb357706e4c23c51 /drivers/scsi/mpt3sas/mpi/mpi2_init.h
parent[SCSI] mpt3sas: fix for kernel panic when driver loads with HBA conected to n... (diff)
downloadkernel-14be49ac965ebd3f8561d57e01ddb22f93f9b454.tar.gz
kernel-14be49ac965ebd3f8561d57e01ddb22f93f9b454.zip
[SCSI] mpt3sas: Infinite loops 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 <[email protected]> Cc: [email protected] Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions