summaryrefslogtreecommitdiffstats
path: root/drivers/virtio/virtio_pci_common.c
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2015-08-06 13:54:21 +0800
committerMichael S. Tsirkin <mst@redhat.com>2015-08-06 10:40:35 +0300
commitdf4198b1e0c4a7d1adde1e5c2ceb67ac10b391bb (patch)
tree7a2f88d1e80de2f14e6cf43a12ecf2073dc1f2ca /drivers/virtio/virtio_pci_common.c
parent74d33293e467df61de1b1d8b2fbe29e550dec33b (diff)
downloadlinux-df4198b1e0c4a7d1adde1e5c2ceb67ac10b391bb.tar.bz2
virtio-input: reset device and detach unused during remove
Spec requires a device reset during cleanup, so do it and avoid warn in virtio core. And detach unused buffers to avoid memory leak. Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virtio/virtio_pci_common.c')
0 files changed, 0 insertions, 0 deletions