[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <159564519423.31464.8874512705165332474.b4-ty@oracle.com>
Date: Fri, 24 Jul 2020 22:50:45 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: jejb@...ux.ibm.com, Wang Hai <wanghai38@...wei.com>,
aacraid@...rosemi.com
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org
Subject: Re: [PATCH -next] scsi: dpt_i2o: remove some not needed memset
On Sat, 18 Jul 2020 20:32:24 +0800, Wang Hai wrote:
> Fixes coccicheck warning:
>
> ./drivers/scsi/dpt_i2o.c:3070:11-29: WARNING:
> dma_alloc_coherent use in sys_tbl already zeroes out memory, so memset is not needed
> ./drivers/scsi/dpt_i2o.c:2780:10-28: WARNING:
> dma_alloc_coherent use in status already zeroes out memory, so memset is not needed
> ./drivers/scsi/dpt_i2o.c:2834:20-38: WARNING:
> dma_alloc_coherent use in pHba -> reply_pool already zeroes out memory, so memset is not needed
> ./drivers/scsi/dpt_i2o.c:1328:10-28: WARNING:
> dma_alloc_coherent use in status already zeroes out memory, so memset is not needed
Applied to 5.9/scsi-queue, thanks!
[1/1] scsi: dpt_i2o: Remove superfluous memset()
https://git.kernel.org/mkp/scsi/c/003015b890e1
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists