scsi: hisi_sas: fix port form bug in hisi_sas_port_notify_formed()
authorXiang Chen <chenxiang66@hisilicon.com>
Mon, 7 Nov 2016 12:48:33 +0000 (20:48 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Nov 2016 14:54:39 +0000 (09:54 -0500)
commit1d7e9469ef0e10d20f92fa36dee41c0fa7fc91e8
tree1180dd89594485a779cdfc8e26d81a3f852c8105
parent85080a253a188d76933f15426c49e97f63797d6c
scsi: hisi_sas: fix port form bug in hisi_sas_port_notify_formed()

When we form a wideport, we should use hardware PHY port_id instead
of sas_phy->id.

Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas_main.c