diff options
-rw-r--r-- | drivers/scsi/bfa/bfad_im.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/bfa/bfad_im.c b/drivers/scsi/bfa/bfad_im.c index 678120b70460..6ef87f6fcdbb 100644 --- a/drivers/scsi/bfa/bfad_im.c +++ b/drivers/scsi/bfa/bfad_im.c | |||
@@ -291,7 +291,7 @@ bfad_im_reset_lun_handler(struct scsi_cmnd *cmnd) | |||
291 | struct bfa_tskim_s *tskim; | 291 | struct bfa_tskim_s *tskim; |
292 | struct bfad_itnim_s *itnim; | 292 | struct bfad_itnim_s *itnim; |
293 | struct bfa_itnim_s *bfa_itnim; | 293 | struct bfa_itnim_s *bfa_itnim; |
294 | DECLARE_WAIT_QUEUE_HEAD(wq); | 294 | DECLARE_WAIT_QUEUE_HEAD_ONSTACK(wq); |
295 | int rc = SUCCESS; | 295 | int rc = SUCCESS; |
296 | unsigned long flags; | 296 | unsigned long flags; |
297 | enum bfi_tskim_status task_status; | 297 | enum bfi_tskim_status task_status; |
@@ -353,7 +353,7 @@ bfad_im_reset_bus_handler(struct scsi_cmnd *cmnd) | |||
353 | struct bfad_itnim_s *itnim; | 353 | struct bfad_itnim_s *itnim; |
354 | unsigned long flags; | 354 | unsigned long flags; |
355 | u32 i, rc, err_cnt = 0; | 355 | u32 i, rc, err_cnt = 0; |
356 | DECLARE_WAIT_QUEUE_HEAD(wq); | 356 | DECLARE_WAIT_QUEUE_HEAD_ONSTACK(wq); |
357 | enum bfi_tskim_status task_status; | 357 | enum bfi_tskim_status task_status; |
358 | 358 | ||
359 | spin_lock_irqsave(&bfad->bfad_lock, flags); | 359 | spin_lock_irqsave(&bfad->bfad_lock, flags); |