[SCSI] libsas: fix bug for vacant phy
commit2bc72c91ea7e104b0e40151543d135b933a12e93
authorJack Wang <jack_wang@usish.com>
Wed, 6 Oct 2010 08:05:35 +0000 (6 16:05 +0800)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 11 Oct 2010 22:40:00 +0000 (11 17:40 -0500)
tree50e5d393a70882ed513dbc402b82c1f1d2216fcc
parent526f7c7950bbf1271e59177d70d74438c2ef96de
[SCSI] libsas: fix bug for vacant phy

This patch fix bug reported by Chuck. And this new version incorporate comments
from Hannes. Please consider to include it into mainline.

Signed-off-by: Jack Wang <jack_wang@usish.com>
Signed-off-by: Lindar Liu <lindar_liu@usish.com>
Tested-by: Chuck Tuffli <Chuck_Tuffli@pmc-sierra.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libsas/sas_expander.c