Re: [PATCH -next] scsi: dpt_i2o: remove some not needed memset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux