]> git.karo-electronics.de Git - karo-tx-linux.git/commit
libsas: fix sas_find_bcast_phy() in the presence of 'vacant' phys
authorThomas Jackson <thomas.p.jackson@intel.com>
Sat, 18 Feb 2012 02:33:10 +0000 (18:33 -0800)
committerDan Williams <dan.j.williams@intel.com>
Wed, 11 Apr 2012 02:15:22 +0000 (19:15 -0700)
commit71cb71d183256fbe77f35558606989c8f47c4ff0
tree2ce46136125bbc9c53b08c05646d0985a6c5c4db
parent705885cb7b906ebddafbaedd693c355f8350ac4e
libsas: fix sas_find_bcast_phy() in the presence of 'vacant' phys

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.

Cc: <stable@vger.kernel.org>
Signed-off-by: Thomas Jackson <thomas.p.jackson@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/libsas/sas_expander.c