[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190103105916.3f3431c6.cohuck@redhat.com>
Date: Thu, 3 Jan 2019 10:59:16 +0100
From: Cornelia Huck <cohuck@...hat.com>
To: Wei Wang <wei.w.wang@...el.com>
Cc: virtio-dev@...ts.oasis-open.org, linux-kernel@...r.kernel.org,
virtualization@...ts.linux-foundation.org, kvm@...r.kernel.org,
mst@...hat.com, borntraeger@...ibm.com, pbonzini@...hat.com,
dgilbert@...hat.com
Subject: Re: [PATCH v1 2/2] virtio: don't allocate vqs when names[i] = NULL
On Fri, 28 Dec 2018 10:26:26 +0800
Wei Wang <wei.w.wang@...el.com> wrote:
> Some vqs may not need to be allocated when their related feature bits
> are disabled. So callers may pass in such vqs with "names = NULL".
s/=/==/ (here and in the subject)
> Then we skip such vq allocations.
>
> Signed-off-by: Wei Wang <wei.w.wang@...el.com>
> ---
> drivers/misc/mic/vop/vop_main.c | 9 +++++++--
> drivers/remoteproc/remoteproc_virtio.c | 9 +++++++--
> drivers/s390/virtio/virtio_ccw.c | 12 +++++++++---
> drivers/virtio/virtio_mmio.c | 9 +++++++--
> 4 files changed, 30 insertions(+), 9 deletions(-)
Reviewed-by: Cornelia Huck <cohuck@...hat.com>
Powered by blists - more mailing lists