diff options
Diffstat (limited to 'drivers/scsi/libsas/sas_expander.c')
-rw-r--r-- | drivers/scsi/libsas/sas_expander.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/libsas/sas_expander.c b/drivers/scsi/libsas/sas_expander.c index 17eb4185f29d..f21c93bbb35c 100644 --- a/drivers/scsi/libsas/sas_expander.c +++ b/drivers/scsi/libsas/sas_expander.c | |||
@@ -828,6 +828,7 @@ static struct domain_device *sas_ex_discover_end_dev( | |||
828 | rphy = sas_end_device_alloc(phy->port); | 828 | rphy = sas_end_device_alloc(phy->port); |
829 | if (!rphy) | 829 | if (!rphy) |
830 | goto out_free; | 830 | goto out_free; |
831 | rphy->identify.phy_identifier = phy_id; | ||
831 | 832 | ||
832 | child->rphy = rphy; | 833 | child->rphy = rphy; |
833 | get_device(&rphy->dev); | 834 | get_device(&rphy->dev); |
@@ -854,6 +855,7 @@ static struct domain_device *sas_ex_discover_end_dev( | |||
854 | 855 | ||
855 | child->rphy = rphy; | 856 | child->rphy = rphy; |
856 | get_device(&rphy->dev); | 857 | get_device(&rphy->dev); |
858 | rphy->identify.phy_identifier = phy_id; | ||
857 | sas_fill_in_rphy(child, rphy); | 859 | sas_fill_in_rphy(child, rphy); |
858 | 860 | ||
859 | list_add_tail(&child->disco_list_node, &parent->port->disco_list); | 861 | list_add_tail(&child->disco_list_node, &parent->port->disco_list); |