All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] scsi: mpt3sas: use true,false for ioc->use_32bit_dma
@ 2020-04-30 12:17 Jason Yan
  2020-05-08  2:54 ` Martin K. Petersen
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Yan @ 2020-04-30 12:17 UTC (permalink / raw)
  To: sathya.prakash, chaitra.basappa, suganath-prabu.subramani, jejb,
	martin.petersen, MPT-FusionLinux.pdl, linux-scsi, linux-kernel
  Cc: Jason Yan

Fix the following coccicheck warning:

drivers/scsi/mpt3sas/mpt3sas_base.c:7202:1-19: WARNING: Assignment of
0/1 to bool variable

Signed-off-by: Jason Yan <yanaijie@huawei.com>
---
 drivers/scsi/mpt3sas/mpt3sas_base.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.21.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] scsi: mpt3sas: use true,false for ioc->use_32bit_dma
  2020-04-30 12:17 [PATCH] scsi: mpt3sas: use true,false for ioc->use_32bit_dma Jason Yan
@ 2020-05-08  2:54 ` Martin K. Petersen
  0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2020-05-08  2:54 UTC (permalink / raw)
  To: jejb, MPT-FusionLinux.pdl, chaitra.basappa, Jason Yan,
	sathya.prakash, suganath-prabu.subramani, linux-scsi,
	linux-kernel
  Cc: Martin K . Petersen

On Thu, 30 Apr 2020 20:17:38 +0800, Jason Yan wrote:

> Fix the following coccicheck warning:
> 
> drivers/scsi/mpt3sas/mpt3sas_base.c:7202:1-19: WARNING: Assignment of
> 0/1 to bool variable

Applied to 5.8/scsi-queue, thanks!

[1/1] scsi: mpt3sas: Use true, false for ioc->use_32bit_dma
      https://git.kernel.org/mkp/scsi/c/55d4ce458c77

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-08  2:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-30 12:17 [PATCH] scsi: mpt3sas: use true,false for ioc->use_32bit_dma Jason Yan
2020-05-08  2:54 ` Martin K. Petersen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.