diff options
-rw-r--r-- | drivers/message/fusion/mptsas.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c index f66f2203143a..dfdd1e445768 100644 --- a/drivers/message/fusion/mptsas.c +++ b/drivers/message/fusion/mptsas.c | |||
@@ -1642,14 +1642,18 @@ static int mptsas_probe_one_phy(struct device *dev, | |||
1642 | 1642 | ||
1643 | for (i = 0; i < port_info->num_phys; i++) | 1643 | for (i = 0; i < port_info->num_phys; i++) |
1644 | if (port_info->phy_info[i].identify.sas_address == | 1644 | if (port_info->phy_info[i].identify.sas_address == |
1645 | identify.sas_address) | 1645 | identify.sas_address) { |
1646 | sas_port_mark_backlink(port); | ||
1646 | goto out; | 1647 | goto out; |
1648 | } | ||
1647 | 1649 | ||
1648 | } else if (scsi_is_sas_rphy(parent)) { | 1650 | } else if (scsi_is_sas_rphy(parent)) { |
1649 | struct sas_rphy *parent_rphy = dev_to_rphy(parent); | 1651 | struct sas_rphy *parent_rphy = dev_to_rphy(parent); |
1650 | if (identify.sas_address == | 1652 | if (identify.sas_address == |
1651 | parent_rphy->identify.sas_address) | 1653 | parent_rphy->identify.sas_address) { |
1654 | sas_port_mark_backlink(port); | ||
1652 | goto out; | 1655 | goto out; |
1656 | } | ||
1653 | } | 1657 | } |
1654 | 1658 | ||
1655 | switch (identify.device_type) { | 1659 | switch (identify.device_type) { |