linux/drivers/vhost
Prathu Baronia 4d8df0f5f7 vhost: use kzalloc() instead of kmalloc() followed by memset()
Use kzalloc() to allocate new zeroed out msg node instead of
memsetting a node allocated with kmalloc().

Signed-off-by: Prathu Baronia <prathubaronia2011@gmail.com>
Message-Id: <20230522085019.42914-1-prathubaronia2011@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
2023-06-07 16:22:30 -04:00
..
iotlb.c vhost_iotlb: split out IOTLB initialization 2022-05-31 12:44:28 -04:00
Kconfig vhost_task: Allow vhost layer to use copy_process 2023-03-23 12:45:36 +01:00
Makefile vhost: introduce vDPA-based backend 2020-04-02 10:41:40 -04:00
net.c vhost-net: support VIRTIO_F_RING_RESET 2023-02-20 19:26:59 -05:00
scsi.c virtio,vhost,vdpa: features, fixes, cleanups 2023-04-27 17:05:34 -07:00
test.c vhost-test: remove meaningless debug info 2023-02-20 19:26:58 -05:00
test.h tools/virtio: Add --reset 2020-06-22 12:34:21 -04:00
vdpa.c virtio,vhost,vdpa: features, fixes, cleanups 2023-04-27 17:05:34 -07:00
vhost.c vhost: use kzalloc() instead of kmalloc() followed by memset() 2023-06-07 16:22:30 -04:00
vhost.h vhost: use vhost_tasks for worker threads 2023-03-23 12:45:37 +01:00
vringh.c vringh: support VA with iotlb 2023-04-21 03:02:33 -04:00
vsock.c vsock: support sockmap 2023-03-29 08:19:38 +01:00