]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] mpt2sas: Fix for device scan following host reset could get stuck in a infinit...
authorSreekanth Reddy <Sreekanth.Reddy@lsi.com>
Fri, 1 Feb 2013 19:26:18 +0000 (00:56 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 24 Jun 2013 19:47:27 +0000 (12:47 -0700)
commita885105c5b368cc7aca97df263d27f197a0495c4
treeae206da24d2d84de56fbf596d7d35d77b0a600ce
parent5618601ea5bc07799af4c49049f3e84b4109b1f3
[SCSI] mpt2sas: Fix for device scan following host reset could get stuck in a infinite loop

Modified device scan routine so each configuration page read breaks from the
while loop when the ioc_status is not equal to MPI2_IOCSTATUS_SUCCESS.

[jejb: checkpatch fixes]
Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@lsi.com>
Cc: stable@vger.kernel.org
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/mpt2sas/mpt2sas_scsih.c