kernel_optimize_test/drivers/virtio
Tiwei Bie e82df67023 virtio_ring: fix num_free handling in error case
The vq->vq.num_free hasn't been changed when error happens,
so it shouldn't be changed when handling the error.

Fixes: 780bc7903a ("virtio_ring: Support DMA APIs")
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2018-03-01 18:53:38 +02:00
..
Kconfig virtio: make VIRTIO a menuconfig to ease disabling it all 2018-02-01 16:26:43 +02:00
Makefile
virtio_balloon.c
virtio_input.c
virtio_mmio.c virtio: virtio_mmio: make of_device_ids const. 2018-01-31 01:47:35 +02:00
virtio_pci_common.c virtio_pci: don't kfree device on register failure 2018-02-01 16:26:45 +02:00
virtio_pci_common.h
virtio_pci_legacy.c
virtio_pci_modern.c
virtio_ring.c virtio_ring: fix num_free handling in error case 2018-03-01 18:53:38 +02:00
virtio.c virtio: split device_register into device_initialize and device_add 2018-02-01 16:26:45 +02:00