kernel/drivers/scsi/hisi_sas/hisi_sas_main.c
.. .. @@ -1408,7 +1408,7 @@ 1408 1408 device->linkrate = phy->sas_phy.linkrate; 1409 1409 1410 1410 hisi_hba->hw->setup_itct(hisi_hba, sas_dev); 1411 - } else1411 + } else if (!port->port_attached)1412 1412 port->id = 0xff; 1413 1413 } 1414 1414 }