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 misc: mic: Release reference count and memory for VOP device 2018-03-15 18:12:01 +01:00
card misc: remove GENWQE_DEBUGFS_RO() 2018-12-06 15:42:18 +01:00
common misc: mic: Remove COSM functionality from the MIC card driver 2015-10-04 12:46:06 +01:00
cosm misc: remove GENWQE_DEBUGFS_RO() 2018-12-06 15:42:18 +01:00
cosm_client misc: mic: fix passing the current time 2018-07-07 17:44:52 +02:00
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 misc: mic: move to its own menu in Misc devices 2017-10-04 10:45:18 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00