android_kernel_xiaomi_sm8350/drivers/virtio
Amit Shah 3b8706240e virtio: Initialize vq->data entries to NULL
vq operations depend on vq->data[i] being NULL to figure out if the vq
entry is in use (since the previous patch).

We have to initialize them to NULL to ensure we don't work with junk
data and trigger false BUG_ONs.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Shirley Ma <xma@us.ibm.com>
2010-02-24 14:22:29 +10:30
..
config.c
Kconfig
Makefile
virtio_balloon.c virtio: fix balloon without VIRTIO_BALLOON_F_STATS_VQ 2010-02-24 14:22:17 +10:30
virtio_pci.c Add __devexit_p around reference to virtio_pci_remove 2010-02-24 14:22:04 +10:30
virtio_ring.c virtio: Initialize vq->data entries to NULL 2010-02-24 14:22:29 +10:30
virtio.c virtio: enhance id_matching for virtio drivers 2009-06-12 22:16:40 +09:30