]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit7fea1e0f38a86d2b79ac0a7f31843b4eb55ccb60
tree81a35749d301d9322ef3cda4828e9dde255a8310
parent6a37c49a94a95d4cd8ce4e7466f3bbb17e80ca64
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