[PATCH v2 0/4] Use dma_zalloc_coherent and kvcalloc to replace open code

From: zhong jiang
Date: Thu Aug 02 2018 - 12:03:44 EST



v1->v2:

According to Andy and Joe suggestions.
[patch 1/4] get rid of unnessary parens and use kvcalloc and kvfree to
replace the vmalloc and vfree.
[patch 2/4] modify the changelog as Andy's suggestion.
[patch 3/4] replace vmalloc and vfree by using kvcalloc adn kvfree.
[patch 4/4] do nothing. just add Andy's review-by.


zhong jiang (4):
driver/scsi/fnic/fnic_trace: Use kvcalloc instead of vmalloc+memset
drivers/scsi/dpt_i2o: Use dma_zalloc_coherent to repalce
dma_alloc_coherent+memset
drivers/scsi/snic/snic_trc: Use kvcalloc instead of vmalloc+memset
drivers/scsi/mvsas/mv_init: Use dma_zalloc_coherent to replace
dma_alloc_coherent+memset

drivers/scsi/dpt_i2o.c | 12 ++++--------
drivers/scsi/fnic/fnic_trace.c | 7 +++----
drivers/scsi/mvsas/mv_init.c | 12 ++++--------
drivers/scsi/snic/snic_trc.c | 7 +++----
4 files changed, 14 insertions(+), 24 deletions(-)

--
1.7.12.4