From: Thomas Jackson Date: Sat, 18 Feb 2012 02:33:10 +0000 (-0800) Subject: libsas: fix sas_find_bcast_phy() in the presence of 'vacant' phys X-Git-Tag: v3.2.17~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa60a4b796e450c561fb070cbd23c4650896cb67;p=pandora-kernel.git libsas: fix sas_find_bcast_phy() in the presence of 'vacant' phys commit 1699490db339e2c6b3037ea8e7dcd6b2755b688e upstream. If an expander reports 'PHY VACANT' for a phy index prior to the one that generated a BCN libsas fails rediscovery. Since a vacant phy is defined as a valid phy index that will never have an attached device just continue the search. Signed-off-by: Thomas Jackson Signed-off-by: Dan Williams Signed-off-by: James Bottomley Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed