scsi: hisi_sas: Grab sas_dev lock when traversing the members of sas_dev.list
[linux-2.6-microblaze.git] / drivers / scsi / hisi_sas / hisi_sas.h
index 3a5fc36..c37ca6f 100644 (file)
@@ -656,7 +656,8 @@ extern void hisi_sas_phy_down(struct hisi_hba *hisi_hba, int phy_no, int rdy,
 extern void hisi_sas_phy_bcast(struct hisi_sas_phy *phy);
 extern void hisi_sas_slot_task_free(struct hisi_hba *hisi_hba,
                                    struct sas_task *task,
-                                   struct hisi_sas_slot *slot);
+                                   struct hisi_sas_slot *slot,
+                                   bool need_lock);
 extern void hisi_sas_init_mem(struct hisi_hba *hisi_hba);
 extern void hisi_sas_rst_work_handler(struct work_struct *work);
 extern void hisi_sas_sync_rst_work_handler(struct work_struct *work);