commit | 0558312110def79e1b8bc20133dc50bb11c62e6e | [log] [tgz] |
---|---|---|
author | Himanshu Jha <himanshujha199640@gmail.com> | Sat Dec 30 20:58:25 2017 +0530 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Thu Jan 04 01:09:26 2018 -0500 |
tree | cccaa0dede85e529ac826d05ebfeab73e812d423 | |
parent | d103adb30049e293348ba6c71f5bc6636ffbeaef [diff] |
scsi: qla2xxx: Use zeroing allocator rather than allocator/memset Use dma_zalloc_coherent and vzalloc instead of dma_alloc_coherent and vmalloc respectively, 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: Himanshu Madhani <himanshu.madhani@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>