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

2018-08-02 Thread zhong jiang
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

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

2018-08-02 Thread zhong jiang
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