lkml.org 
[lkml]   [2020]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH -next] scsi: dpt_i2o: remove some not needed memset
Date
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

\
 
 \ /
  Last update: 2020-07-25 04:52    [W:0.044 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site