From: Himanshu Madhani Date: Wed, 12 Feb 2020 21:44:35 +0000 (-0800) Subject: scsi: qla2xxx: Use QLA_FW_STOPPED macro to propagate flag X-Git-Tag: v5.7-rc1~112^2~162 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0fc5b7e62322e1aa8384013ee1caff3f87d30207;p=thirdparty%2Flinux.git scsi: qla2xxx: Use QLA_FW_STOPPED macro to propagate flag This patch uses QLA_FW_STOPPED macro so that flag is propogated to all the QPairs. Link: https://lore.kernel.org/r/20200212214436.25532-25-hmadhani@marvell.com Signed-off-by: Himanshu Madhani Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 8fee3f5154c7e..1ec93e28560e6 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c @@ -6676,7 +6676,7 @@ qla2x00_abort_isp_cleanup(scsi_qla_host_t *vha) ha->flags.n2n_ae = 0; ha->flags.lip_ae = 0; ha->current_topology = 0; - ha->flags.fw_started = 0; + QLA_FW_STOPPED(ha); ha->flags.fw_init_done = 0; ha->chip_reset++; ha->base_qpair->chip_reset = ha->chip_reset;