From db5f6bc28b85930e799e4a72482fe8b604cf083d Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 23 May 2020 22:04:02 +0000 Subject: [PATCH] qla2xxx: Use true, false for need_mpi_reset [ commit bda552a7741a23708823c6e87a39d9a956087ac0 upstream ] git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8959 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla2x00t-32gbit/qla_tmpl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qla2x00t-32gbit/qla_tmpl.c b/qla2x00t-32gbit/qla_tmpl.c index 342363862..dc97f2fbe 100644 --- a/qla2x00t-32gbit/qla_tmpl.c +++ b/qla2x00t-32gbit/qla_tmpl.c @@ -1028,7 +1028,7 @@ void qla27xx_mpi_fwdump(scsi_qla_host_t *vha, int hardware_locked) { ulong flags = 0; - bool need_mpi_reset = 1; + bool need_mpi_reset = true; #ifndef __CHECKER__ if (!hardware_locked) @@ -1059,7 +1059,7 @@ qla27xx_mpi_fwdump(scsi_qla_host_t *vha, int hardware_locked) "-> fwdt1 fwdump residual=%+ld\n", fwdt->dump_size - len); } else { - need_mpi_reset = 0; + need_mpi_reset = false; } vha->hw->mpi_fw_dump_len = len;