diff options
Diffstat (limited to 'drivers/scsi/bfa/bfa_lps.c')
-rw-r--r-- | drivers/scsi/bfa/bfa_lps.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/scsi/bfa/bfa_lps.c b/drivers/scsi/bfa/bfa_lps.c index 66b9b15f4294..4c98bdab3119 100644 --- a/drivers/scsi/bfa/bfa_lps.c +++ b/drivers/scsi/bfa/bfa_lps.c | |||
@@ -121,7 +121,7 @@ bfa_lps_sm_init(struct bfa_lps_s *lps, enum bfa_lps_event event) | |||
121 | break; | 121 | break; |
122 | 122 | ||
123 | default: | 123 | default: |
124 | bfa_assert(0); | 124 | bfa_sm_fault(lps->bfa, event); |
125 | } | 125 | } |
126 | } | 126 | } |
127 | 127 | ||
@@ -148,7 +148,7 @@ bfa_lps_sm_login(struct bfa_lps_s *lps, enum bfa_lps_event event) | |||
148 | break; | 148 | break; |
149 | 149 | ||
150 | default: | 150 | default: |
151 | bfa_assert(0); | 151 | bfa_sm_fault(lps->bfa, event); |
152 | } | 152 | } |
153 | } | 153 | } |
154 | 154 | ||
@@ -180,7 +180,7 @@ bfa_lps_sm_loginwait(struct bfa_lps_s *lps, enum bfa_lps_event event) | |||
180 | break; | 180 | break; |
181 | 181 | ||
182 | default: | 182 | default: |
183 | bfa_assert(0); | 183 | bfa_sm_fault(lps->bfa, event); |
184 | } | 184 | } |
185 | } | 185 | } |
186 | 186 | ||
@@ -219,7 +219,7 @@ bfa_lps_sm_online(struct bfa_lps_s *lps, enum bfa_lps_event event) | |||
219 | break; | 219 | break; |
220 | 220 | ||
221 | default: | 221 | default: |
222 | bfa_assert(0); | 222 | bfa_sm_fault(lps->bfa, event); |
223 | } | 223 | } |
224 | } | 224 | } |
225 | 225 | ||
@@ -243,7 +243,7 @@ bfa_lps_sm_logout(struct bfa_lps_s *lps, enum bfa_lps_event event) | |||
243 | break; | 243 | break; |
244 | 244 | ||
245 | default: | 245 | default: |
246 | bfa_assert(0); | 246 | bfa_sm_fault(lps->bfa, event); |
247 | } | 247 | } |
248 | } | 248 | } |
249 | 249 | ||
@@ -268,7 +268,7 @@ bfa_lps_sm_logowait(struct bfa_lps_s *lps, enum bfa_lps_event event) | |||
268 | break; | 268 | break; |
269 | 269 | ||
270 | default: | 270 | default: |
271 | bfa_assert(0); | 271 | bfa_sm_fault(lps->bfa, event); |
272 | } | 272 | } |
273 | } | 273 | } |
274 | 274 | ||