acrn-kernel/drivers/vhost
Prathu Baronia 4675661672 vhost: use kzalloc() instead of kmalloc() followed by memset()
commit 4d8df0f5f7 upstream.

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>
Signed-off-by: Ajay Kaher <ajay.kaher@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-02-16 19:06:31 +01:00
..
Kconfig
Makefile
iotlb.c
net.c
scsi.c
test.c
test.h
vdpa.c
vhost.c vhost: use kzalloc() instead of kmalloc() followed by memset() 2024-02-16 19:06:31 +01:00
vhost.h
vringh.c
vsock.c