summaryrefslogtreecommitdiff
path: root/drivers/scsi/qla2xxx/qla_tmpl.c
diff options
context:
space:
mode:
authorJason Yan <yanaijie@huawei.com>2020-04-30 20:18:00 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2020-05-07 21:57:47 -0400
commitdbe6f49259dacc073c1ae602f383c177f57b1b8a (patch)
tree2a86abc5d33db4887242a78b54f1932c8326ae73 /drivers/scsi/qla2xxx/qla_tmpl.c
parentbda552a7741a23708823c6e87a39d9a956087ac0 (diff)
scsi: qla2xxx: Use true, false for ha->fw_dumped
Fix the following coccicheck warning: drivers/scsi/qla2xxx/qla_tmpl.c:1120:2-20: WARNING: Assignment of 0/1 to bool variable Link: https://lore.kernel.org/r/20200430121800.15323-1-yanaijie@huawei.com Signed-off-by: Jason Yan <yanaijie@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_tmpl.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_tmpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_tmpl.c b/drivers/scsi/qla2xxx/qla_tmpl.c
index dc97f2fbeafe..281973b317a8 100644
--- a/drivers/scsi/qla2xxx/qla_tmpl.c
+++ b/drivers/scsi/qla2xxx/qla_tmpl.c
@@ -1117,7 +1117,7 @@ qla27xx_fwdump(scsi_qla_host_t *vha, int hardware_locked)
}
vha->hw->fw_dump_len = len;
- vha->hw->fw_dumped = 1;
+ vha->hw->fw_dumped = true;
ql_log(ql_log_warn, vha, 0xd015,
"-> Firmware dump saved to buffer (%lu/%p) <%lx>\n",