diff options
Diffstat (limited to 'drivers/scsi/libsas/sas_init.c')
-rw-r--r-- | drivers/scsi/libsas/sas_init.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/libsas/sas_init.c b/drivers/scsi/libsas/sas_init.c index c836a237fb79..0fb347b4b1a2 100644 --- a/drivers/scsi/libsas/sas_init.c +++ b/drivers/scsi/libsas/sas_init.c | |||
@@ -112,6 +112,8 @@ int sas_register_ha(struct sas_ha_struct *sas_ha) | |||
112 | } | 112 | } |
113 | } | 113 | } |
114 | 114 | ||
115 | INIT_LIST_HEAD(&sas_ha->eh_done_q); | ||
116 | |||
115 | return 0; | 117 | return 0; |
116 | 118 | ||
117 | Undo_ports: | 119 | Undo_ports: |
@@ -142,7 +144,7 @@ static int sas_get_linkerrors(struct sas_phy *phy) | |||
142 | return sas_smp_get_phy_events(phy); | 144 | return sas_smp_get_phy_events(phy); |
143 | } | 145 | } |
144 | 146 | ||
145 | static int sas_phy_reset(struct sas_phy *phy, int hard_reset) | 147 | int sas_phy_reset(struct sas_phy *phy, int hard_reset) |
146 | { | 148 | { |
147 | int ret; | 149 | int ret; |
148 | enum phy_func reset_type; | 150 | enum phy_func reset_type; |