linux_dsm_epyc7002/drivers/misc/mic/vop
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
..
Makefile misc: mic: Enable VOP debugfs and driver build 2016-02-09 17:32:37 -08:00
vop_debugfs.c misc: remove GENWQE_DEBUGFS_RO() 2018-12-06 15:42:18 +01:00
vop_main.c virtio: don't allocate vqs when names[i] = NULL 2019-01-14 20:15:19 -05:00
vop_main.h misc: mic: Add data structures for the VOP driver 2016-02-09 17:32:37 -08:00
vop_vringh.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00