Himanshu,
> Use dma_zalloc_coherent instead of dma_alloc_coherent followed by memset
> 0.
Does not apply to 4.16/scsi-queue. Please resubmit. Thanks!
--
Martin K. Petersen Oracle Linux Engineering
On 30/12/17 8:58 PM, "Himanshu Jha" wrote:
>Use dma_zalloc_coherent instead of dma_alloc_coherent followed by memset
>0.
>
>Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci
>
>Suggested-by: Luis R. Rodriguez
>Signed-off-by:
Use dma_zalloc_coherent instead of dma_alloc_coherent followed by memset
0.
Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci
Suggested-by: Luis R. Rodriguez
Signed-off-by: Himanshu Jha
---
drivers/scsi/qedi/qedi_main.c | 42
3 matches
Mail list logo