Skip to content

Commit b939821

Browse files
Quinn TranSomasundaram Krishnasamy
authored andcommitted
scsi: qla2xxx: shutdown chip if reset fail
If chip unable to fully initialize, use full shutdown sequence to clear out any stale FW state. Fixes: e315cd2 ("[SCSI] qla2xxx: Code changes for qla data structure refactoring") Cc: stable@vger.kernel.org #4.10 Signed-off-by: Quinn Tran <quinn.tran@cavium.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Orabug: 29411921 Signed-off-by: John Donnelly <John.P.Donnelly@oracle.com> Reviewed-by: Jack Vogel <jack.vogel@oracle.com> Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
1 parent 55bb710 commit b939821

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/scsi/qla2xxx/qla_init.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6765,7 +6765,7 @@ qla2x00_abort_isp(scsi_qla_host_t *vha)
67656765
* The next call disables the board
67666766
* completely.
67676767
*/
6768-
ha->isp_ops->reset_adapter(vha);
6768+
qla2x00_abort_isp_cleanup(vha);
67696769
vha->flags.online = 0;
67706770
clear_bit(ISP_ABORT_RETRY,
67716771
&vha->dpc_flags);

0 commit comments

Comments
 (0)