https://github.com/torvalds/linux
Revision ec76f4007079469e86e2e44c3e5d1d11086de9d6 authored by Alexey Kardashevskiy on 12 March 2015, 03:43:12 UTC, committed by Alex Williamson on 12 March 2015, 15:51:38 UTC
This adds a missing break statement to VFIO_DEVICE_SET_IRQS handler
without which vfio_pci_set_err_trigger() would never be called.

While we are here, add another "break" to VFIO_PCI_REQ_IRQ_INDEX case
so if we add more indexes later, we won't miss it.

Fixes: 6140a8f56238 ("vfio-pci: Add device request interface")
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
1 parent 9eccca0
History
Tip revision: ec76f4007079469e86e2e44c3e5d1d11086de9d6 authored by Alexey Kardashevskiy on 12 March 2015, 03:43:12 UTC
vfio-pci: Add missing break to enable VFIO_PCI_ERR_IRQ_INDEX
Tip revision: ec76f40
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 4.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.0 KB
Kbuild -rw-r--r-- 2.1 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 298.2 KB
Makefile -rw-r--r-- 53.3 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top