summaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-05-20 18:59:54 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2017-05-26 17:45:56 +0200
commit83b4605b0c16cde5b00c8cf192408d51eab75402 (patch)
tree628a2ae3c3abfde7d7975f25ea8c1cdbde9c3d1f /kernel/exit.c
parentMerge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/... (diff)
downloadlinux-83b4605b0c16cde5b00c8cf192408d51eab75402.tar.xz
linux-83b4605b0c16cde5b00c8cf192408d51eab75402.zip
PCI/msi: fix the pci_alloc_irq_vectors_affinity stub
We need to return an error for any call that asks for MSI / MSI-X vectors only, so that non-trivial fallback logic can work properly. Also valid dev->irq and use the "correct" errno value based on feedback from Linus. Signed-off-by: Christoph Hellwig <hch@lst.de> Reported-by: Steven Rostedt <rostedt@goodmis.org> Fixes: aff17164 ("PCI: Provide sensible IRQ vector alloc/free routines") Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/exit.c')
0 files changed, 0 insertions, 0 deletions