mbox series

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

Message ID 1533209314-1074-1-git-send-email-zhongjiang@huawei.com (mailing list archive)
Headers show
Series Use dma_zalloc_coherent and kvcalloc to replace open code | expand

Message

zhong jiang Aug. 2, 2018, 11:28 a.m. UTC
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(-)

Comments

zhong jiang Aug. 23, 2018, 11:25 a.m. UTC | #1
HI, martin

Can you pick up the patchset? Thanks

Best wishes,
zhong jiang

On 2018/8/2 19:28, zhong jiang wrote:
>  
> 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(-)
>