commit | 85e75175fab8cd17aa2d39214dc44d9895a15dbf | [log] [tgz] |
---|---|---|
author | Himanshu Jha <himanshujha199640@gmail.com> | Sat Dec 30 20:58:32 2017 +0530 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Thu Jan 04 01:13:28 2018 -0500 |
tree | dc044f9e437d1e1c286cdc2293017d9c9aaf3702 | |
parent | bde70f3c0e02bc3ed1974dc755c2f29c82f85eda [diff] |
scsi: bnx2i: 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: Manish Rangankar <Manish.Rangankar@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>