diff options
author | Himanshu Jha <himanshujha199640@gmail.com> | 2018-01-09 14:36:51 +0530 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-01-10 23:25:09 -0500 |
commit | bb5420c39ed2276da2fb583df0d463653ca9b74f (patch) | |
tree | 29f8f48ef89e1d7876874403e8f48dec629625e2 /drivers/memory | |
parent | 468f4b8d0711146f0075513e6047079a26fc3903 (diff) | |
download | linux-bb5420c39ed2276da2fb583df0d463653ca9b74f.tar.bz2 |
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>
Diffstat (limited to 'drivers/memory')
0 files changed, 0 insertions, 0 deletions