]> git.baikalelectronics.ru Git - kernel.git/commit
virtio-pci: read the right virtio_pci_notify_cap field
authorLadi Prosek <lprosek@redhat.com>
Mon, 1 Feb 2016 18:36:31 +0000 (19:36 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 2 Mar 2016 15:01:49 +0000 (17:01 +0200)
commit5284498ccf922f2adbef1d6b21e98fa3a5e67ebd
tree113da9721a062241f4108c993d29bdb67740cd36
parentb4c6e182f5b636364ef191076c0c02fb76bae986
virtio-pci: read the right virtio_pci_notify_cap field

Looks like a copy-paste bug. The value is used as an optimization and a
wrong value probably isn't causing any serious damage. Found when
porting this code to Windows.

Signed-off-by: Ladi Prosek <lprosek@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_pci_modern.c