drm/vmwgfx: Use dma_pool_zalloc
authorSouptick Joarder <jrdr.linux@gmail.com>
Thu, 1 Dec 2016 19:55:45 +0000 (01:25 +0530)
committerSinclair Yeh <syeh@vmware.com>
Tue, 18 Jul 2017 06:40:56 +0000 (23:40 -0700)
commita02f6da66557bab10271fa5017aff29fa647e830
tree69d0f72842dab30431c4549c00e79fd63dae4664
parentd7f482313322892b28f3c14958177cd15c6a113d
drm/vmwgfx: Use dma_pool_zalloc

We should use dma_pool_zalloc instead of dma_pool_alloc/memset

Signed-off-by: Souptick joarder <jrdr.linux@gmail.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Signed-off-by: Sinclair Yeh <syeh@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c