From: Sreekanth Reddy Date: Fri, 1 Feb 2013 19:26:18 +0000 (+0530) Subject: mpt2sas: Fix for device scan following host reset could get stuck in a infinite loop X-Git-Tag: v3.2.49~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4498ad1ef9c7b3673efbeef5af0a3ef61a0ce07;p=pandora-kernel.git mpt2sas: Fix for device scan following host reset could get stuck in a infinite loop commit 6241f22ca12a26ee149cbe31b27bac97dbdc8bc4 upstream. 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 Signed-off-by: James Bottomley [bwh: Backported to 3.2; adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed