summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt3sas
diff options
context:
space:
mode:
authorJason Yan <yanaijie@huawei.com>2020-04-30 14:17:38 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2020-05-08 04:04:39 +0200
commit55d4ce458c77f21fd20711f23ab8540e904d10c3 (patch)
tree4e8f27efcd4a88712f94b281b25b02d7040f6948 /drivers/scsi/mpt3sas
parentscsi: vmw_pvscsi: Use true, false for adapter->use_msg (diff)
downloadlinux-55d4ce458c77f21fd20711f23ab8540e904d10c3.tar.xz
linux-55d4ce458c77f21fd20711f23ab8540e904d10c3.zip
scsi: mpt3sas: Use true, false for ioc->use_32bit_dma
Fix the following coccicheck warning: drivers/scsi/mpt3sas/mpt3sas_base.c:7202:1-19: WARNING: Assignment of 0/1 to bool variable Link: https://lore.kernel.org/r/20200430121738.15151-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/mpt3sas')
-rw-r--r--drivers/scsi/mpt3sas/mpt3sas_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c
index 7416242624f0..7fa3bdb906b6 100644
--- a/drivers/scsi/mpt3sas/mpt3sas_base.c
+++ b/drivers/scsi/mpt3sas/mpt3sas_base.c
@@ -7199,7 +7199,7 @@ mpt3sas_base_attach(struct MPT3SAS_ADAPTER *ioc)
ioc->smp_affinity_enable = smp_affinity_enable;
ioc->rdpq_array_enable_assigned = 0;
- ioc->use_32bit_dma = 0;
+ ioc->use_32bit_dma = false;
if (ioc->is_aero_ioc)
ioc->base_readl = &_base_readl_aero;
else