From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752217AbdBCC5g (ORCPT ); Thu, 2 Feb 2017 21:57:36 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41632 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751622AbdBCC5f (ORCPT ); Thu, 2 Feb 2017 21:57:35 -0500 Subject: Re: [PATCH 0/3] Virtio: Fine-tuning for two function implementations To: SF Markus Elfring , virtualization@lists.linux-foundation.org, "Michael S. Tsirkin" References: <61829748-a13d-42e4-8f6c-103ee5ca2c88@users.sourceforge.net> Cc: LKML , kernel-janitors@vger.kernel.org From: Jason Wang Message-ID: <02d56f89-263e-3bda-9543-90e4c82df75b@redhat.com> Date: Fri, 3 Feb 2017 10:57:29 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <61829748-a13d-42e4-8f6c-103ee5ca2c88@users.sourceforge.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Fri, 03 Feb 2017 02:57:35 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2017年01月27日 05:44, SF Markus Elfring wrote: > From: Markus Elfring > 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