--- zzzz-none-000/linux-3.10.107/drivers/scsi/isci/port_config.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/scsi/isci/port_config.c 2021-02-04 17:41:59.000000000 +0000 @@ -311,9 +311,9 @@ &ihost->phys[phy_index]); assigned_phy_mask |= (1 << phy_index); + phy_index++; } - phy_index++; } return sci_port_configuration_agent_validate_ports(ihost, port_agent);