diff options
-rw-r--r-- | drivers/scsi/libsas/sas_port.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libsas/sas_port.c b/drivers/scsi/libsas/sas_port.c index 59ee8a0a6ea9..29f8fd335523 100644 --- a/drivers/scsi/libsas/sas_port.c +++ b/drivers/scsi/libsas/sas_port.c | |||
@@ -122,7 +122,7 @@ static void sas_form_port(struct asd_sas_phy *phy) | |||
122 | spin_unlock_irqrestore(&sas_ha->phy_port_lock, flags); | 122 | spin_unlock_irqrestore(&sas_ha->phy_port_lock, flags); |
123 | 123 | ||
124 | if (!port->port) { | 124 | if (!port->port) { |
125 | port->port = sas_port_alloc(phy->phy->dev.parent, port->id); | 125 | port->port = sas_port_alloc(phy->phy->dev.parent, phy->id); |
126 | BUG_ON(!port->port); | 126 | BUG_ON(!port->port); |
127 | sas_port_add(port->port); | 127 | sas_port_add(port->port); |
128 | } | 128 | } |