summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/tcm_qla2xxx.h
diff options
context:
space:
mode:
authorHimanshu Jha <himanshujha199640@gmail.com>2017-12-30 16:28:25 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2018-01-04 07:09:26 +0100
commit0558312110def79e1b8bc20133dc50bb11c62e6e (patch)
treecccaa0dede85e529ac826d05ebfeab73e812d423 /drivers/scsi/qla2xxx/tcm_qla2xxx.h
parentscsi: qla4xxx: Use zeroing allocator rather than allocator/memset (diff)
downloadlinux-0558312110def79e1b8bc20133dc50bb11c62e6e.tar.xz
linux-0558312110def79e1b8bc20133dc50bb11c62e6e.zip
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>
Diffstat (limited to 'drivers/scsi/qla2xxx/tcm_qla2xxx.h')
0 files changed, 0 insertions, 0 deletions