소스 검색

[SCSI] lpfc 8.1.2: Explicitly initialize the skip_post argument to lpfc_sli_send_reset

Explicitly initialize the skip_post argument to lpfc_sli_send_reset
  on a ERATT interrupt.

Signed-off-by: Jamie Wellnitz <Jamie.Wellnitz@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Jamie Wellnitz 20 년 전
부모
커밋
7062c5281c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      drivers/scsi/lpfc/lpfc_sli.c

+ 1 - 1
drivers/scsi/lpfc/lpfc_sli.c

@@ -2983,7 +2983,7 @@ lpfc_intr_handler(int irq, void *dev_id, struct pt_regs * regs)
 			 * to shutdown interrupt when there is a
 			 * ERROR.
 			 */
-			lpfc_sli_send_reset(phba, phba->hba_state);
+			lpfc_sli_send_reset(phba, 1);
 		}
 
 		spin_lock(phba->host->host_lock);