scsi: mpt3sas: use true,false for bool variables
authorJason Yan <yanaijie@huawei.com>
Tue, 21 Apr 2020 03:41:01 +0000 (11:41 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 22 Apr 2020 04:08:31 +0000 (00:08 -0400)
commit355f46b97dacce6e5da436822c449db000744eac
tree883d203adab861172c712f1c7de38663ba3e3ef9
parentb7a9d0c6603d233280fbfef9d58154664e4aa478
scsi: mpt3sas: use true,false for bool variables

Fix the following coccicheck warning:

drivers/scsi/mpt3sas/mpt3sas_base.c:416:6-14: WARNING: Assignment of 0/1
to bool variable
drivers/scsi/mpt3sas/mpt3sas_base.c:485:2-10: WARNING: Assignment of 0/1
to bool variable

Link: https://lore.kernel.org/r/20200421034101.28273-1-yanaijie@huawei.com
Acked-by: Suganath Prabu <suganath-prabu.subramani@broadcom.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c