From: Quinn Tran Date: Fri, 26 Jul 2019 16:07:30 +0000 (-0700) Subject: scsi: qla2xxx: Skip FW dump on LOOP initialization error X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5e5402c147083786db2238302e25c44b7a7dc5e9;p=openwrt%2Fstaging%2Fblogic.git scsi: qla2xxx: Skip FW dump on LOOP initialization error Firmware dump captured during LOOP Init error does not yield any significant information. This patch removes call to trigger firmware dump collection during Loop Initialization. Signed-off-by: Quinn Tran Signed-off-by: Himanshu Madhani Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index 78aec50abe0f..e8ce57cb897e 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c @@ -776,7 +776,6 @@ skip_rio: case MBA_LOOP_INIT_ERR: ql_log(ql_log_warn, vha, 0x5090, "LOOP INIT ERROR (%x).\n", mb[1]); - ha->isp_ops->fw_dump(vha, 1); set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); break;