linux/drivers/s390
Wei Wang a229989d97 virtio: don't allocate vqs when names[i] = NULL
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".
Then we skip such vq allocations.

Signed-off-by: Wei Wang <wei.w.wang@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Wei Wang <wei.w.wang@intel.com>
Signed-off-by: Wei Wang <wei.w.wang@intel.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Cc: stable@vger.kernel.org
Fixes: 86a559787e ("virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_HINT")
2019-01-14 20:15:19 -05:00
..
block s390 updates for the 4.21 merge window 2019-01-02 18:37:01 -08:00
char s390/drivers: fix proc/debugfs file permissions 2018-12-13 10:42:24 +01:00
cio vfio-ccw update: 2018-12-13 10:44:18 +01:00
crypto s390/zcrypt: rework ap scan bus code 2018-12-13 10:42:27 +01:00
net cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
scsi scsi: flip the default on use_clustering 2018-12-18 23:13:12 -05:00
virtio virtio: don't allocate vqs when names[i] = NULL 2019-01-14 20:15:19 -05:00
Makefile kbuild: rename built-in.o to built-in.a 2018-03-26 02:01:19 +09:00