Messages in this thread | | | From | "Martin K. Petersen" <> | Subject | Re: [PATCH -next] scsi: dpt_i2o: remove some not needed memset | Date | Fri, 24 Jul 2020 22:50:45 -0400 |
| |
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
| |