Переглянути джерело

[SCSI] libsas: fix up sas_smp_phy_control()

The prototype of this has changed for the link speed setting patch.
Need to update the SATA use of this.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
James Bottomley 19 роки тому
батько
коміт
38e2f03558
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      drivers/scsi/libsas/sas_expander.c

+ 1 - 1
drivers/scsi/libsas/sas_expander.c

@@ -242,7 +242,7 @@ static int sas_ex_phy_discover_helper(struct domain_device *dev, u8 *disc_req,
 			break;
 		/* In order to generate the dev to host FIS, we
 		 * send a link reset to the expander port */
-		sas_smp_phy_control(dev, single, PHY_FUNC_LINK_RESET);
+		sas_smp_phy_control(dev, single, PHY_FUNC_LINK_RESET, NULL);
 		/* Wait for the reset to trigger the negotiation */
 		msleep(500);
 	}