|
@@ -31,7 +31,7 @@ static void notify_ha_event(struct sas_ha_struct *sas_ha, enum ha_event event)
|
|
|
BUG_ON(event >= HA_NUM_EVENTS);
|
|
|
|
|
|
sas_queue_event(event, &sas_ha->event_lock, &sas_ha->pending,
|
|
|
- &sas_ha->ha_events[event].work, sas_ha->core.shost);
|
|
|
+ &sas_ha->ha_events[event].work, sas_ha);
|
|
|
}
|
|
|
|
|
|
static void notify_port_event(struct asd_sas_phy *phy, enum port_event event)
|
|
@@ -41,7 +41,7 @@ static void notify_port_event(struct asd_sas_phy *phy, enum port_event event)
|
|
|
BUG_ON(event >= PORT_NUM_EVENTS);
|
|
|
|
|
|
sas_queue_event(event, &ha->event_lock, &phy->port_events_pending,
|
|
|
- &phy->port_events[event].work, ha->core.shost);
|
|
|
+ &phy->port_events[event].work, ha);
|
|
|
}
|
|
|
|
|
|
static void notify_phy_event(struct asd_sas_phy *phy, enum phy_event event)
|
|
@@ -51,7 +51,7 @@ static void notify_phy_event(struct asd_sas_phy *phy, enum phy_event event)
|
|
|
BUG_ON(event >= PHY_NUM_EVENTS);
|
|
|
|
|
|
sas_queue_event(event, &ha->event_lock, &phy->phy_events_pending,
|
|
|
- &phy->phy_events[event].work, ha->core.shost);
|
|
|
+ &phy->phy_events[event].work, ha);
|
|
|
}
|
|
|
|
|
|
int sas_init_events(struct sas_ha_struct *sas_ha)
|