OpenCloudOS-Kernel/drivers/scsi/bnx2fc
Himanshu Jha bb5420c39e 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>
2018-01-10 23:25:09 -05:00
..
57xx_hsi_bnx2fc.h scsi: bnx2fc: Update copyright for 2017. 2017-06-27 21:39:09 -04:00
Kconfig bnx2fc: Remove 'NetXtreme II' from source files. 2015-11-09 17:29:04 -08:00
Makefile [SCSI] bnx2fc: Reduce object size by consolidating formats 2012-07-20 08:58:17 +01:00
bnx2fc.h scsi: bnx2fc: remove obsolete bnx2fc_eh_host_reset() definition 2017-08-25 17:21:12 -04:00
bnx2fc_constants.h scsi: bnx2fc: Update copyright for 2017. 2017-06-27 21:39:09 -04:00
bnx2fc_debug.c scsi: bnx2fc: Update copyright for 2017. 2017-06-27 21:39:09 -04:00
bnx2fc_debug.h scsi: bnx2fc: Update copyright for 2017. 2017-06-27 21:39:09 -04:00
bnx2fc_els.c scsi: bnx2fc: Update copyright for 2017. 2017-06-27 21:39:09 -04:00
bnx2fc_fcoe.c scsi: bnx2fc: fix spelling mistake: "Couldnt" -> "Couldn't" 2017-12-04 22:56:02 -05:00
bnx2fc_hwi.c scsi: bnx2fc: Use zeroing allocator rather than allocator/memset 2018-01-10 23:25:09 -05:00
bnx2fc_io.c scsi: bnx2fc: Fix hung task messages when a cleanup response is not received during abort 2017-11-15 18:44:56 -05:00
bnx2fc_tgt.c scsi: bnx2fc: Use zeroing allocator rather than allocator/memset 2018-01-10 23:25:09 -05:00