[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJSP0QUcGXsNgcEyi-PPpPL2fJz5NvLuJ9M_WBfN6wx_szHARA@mail.gmail.com>
Date: Mon, 3 Oct 2016 10:11:22 +0100
From: Stefan Hajnoczi <stefanha@...il.com>
To: SF Markus Elfring <elfring@...rs.sourceforge.net>
Cc: Linux Virtualization <virtualization@...ts.linux-foundation.org>,
"Michael S. Tsirkin" <mst@...hat.com>,
Julia Lawall <julia.lawall@...6.fr>,
kernel-janitors@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/4] virtio_blk: Use kmalloc_array() in init_vq()
On Tue, Sep 13, 2016 at 1:12 PM, SF Markus Elfring
<elfring@...rs.sourceforge.net> wrote:
> From: Markus Elfring <elfring@...rs.sourceforge.net>
> Date: Tue, 13 Sep 2016 11:32:22 +0200
>
> Multiplications for the size determination of memory allocations
> indicated that array data structures should be processed.
> Thus use the corresponding function "kmalloc_array".
>
> This issue was detected by using the Coccinelle software.
>
> Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
> ---
> drivers/block/virtio_blk.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefanha@...hat.com>
Powered by blists - more mailing lists