commit | bb5420c39ed2276da2fb583df0d463653ca9b74f | [log] [tgz] |
---|---|---|
author | Himanshu Jha <himanshujha199640@gmail.com> | Tue Jan 09 14:36:51 2018 +0530 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Wed Jan 10 23:25:09 2018 -0500 |
tree | 29f8f48ef89e1d7876874403e8f48dec629625e2 | |
parent | 468f4b8d0711146f0075513e6047079a26fc3903 [diff] |
scsi: bnx2fc: Use zeroing allocator rather than allocator/memset 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 <mcgrof@kernel.org> Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com> Acked-by: Chad Dupuis <chad.dupuis@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>