]> git.baikalelectronics.ru Git - kernel.git/commit
gpu/drm/virtio/virtgpu_vq.c: Use kmem_cache_zalloc
authorSabyasachi Gupta <sabyasachi.linux@gmail.com>
Fri, 19 Oct 2018 15:59:54 +0000 (21:29 +0530)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 30 Oct 2018 06:19:58 +0000 (07:19 +0100)
commit558f7f3d66dd21087ef29a8126eebb1a182452e6
tree81a35749d301d9322ef3cda4828e9dde255a8310
parent8e312bccee3e3471a170f2e3f8b2cab1bda09c4c
gpu/drm/virtio/virtgpu_vq.c: Use kmem_cache_zalloc

Replaced kmem_cache_alloc + memset with kmem_cache_zalloc

Signed-off-by: Sabyasachi Gupta <sabyasachi.linux@gmail.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/5bc9ff7e.1c69fb81.105c2.1fef@mx.google.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/virtio/virtgpu_vq.c