linux/drivers/misc/mic
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
..
bus
card misc: remove GENWQE_DEBUGFS_RO() 2018-12-06 15:42:18 +01:00
common
cosm misc: remove GENWQE_DEBUGFS_RO() 2018-12-06 15:42:18 +01:00
cosm_client
host Char/Misc driver patches for 4.21-rc1 2018-12-28 20:54:57 -08:00
scif IOMMU Updates for Linux v4.21 2019-01-01 15:55:29 -08:00
vop virtio: don't allocate vqs when names[i] = NULL 2019-01-14 20:15:19 -05:00
Kconfig
Makefile