Re: [PATCH 0/3] Virtio: Fine-tuning for two function implementations

From: Jason Wang
Date: Thu Feb 02 2017 - 21:57:45 EST




On 2017å01æ27æ 05:44, SF Markus Elfring wrote:
From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 26 Jan 2017 22:40:02 +0100

A few update suggestions were taken into account
from static source code analysis.

Markus Elfring (3):
virtio_pci: Use kcalloc() in vp_request_msix_vectors()
virtio_pci: Use kmalloc_array() in vp_request_msix_vectors()
virtio_ring: Use kmalloc_array() in alloc_indirect()

drivers/virtio/virtio_pci_common.c | 8 ++++----
drivers/virtio/virtio_ring.c | 3 +--
2 files changed, 5 insertions(+), 6 deletions(-)


Acked-by: Jason Wang <jasowang@xxxxxxxxxx>