PCI/msi: fix the pci_alloc_irq_vectors_affinity stub
Christoph Hellwig authored
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: default avatarChristoph Hellwig <hch@lst.de>
Reported-by: default avatarSteven Rostedt <rostedt@goodmis.org>
Fixes: aff17164

 ("PCI: Provide sensible IRQ vector alloc/free routines")
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
83b4605b
Name Last commit Last update
Documentation Merge tag 'acpi-4.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
arch x86: fix 32-bit case of __get_user_asm_u64()
block Merge branch 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm
certs scripts/spelling.txt: add "intialise(d)" pattern and fix typo instances
crypto crypto: skcipher - Add missing API setkey checks
drivers Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
firmware firmware/Makefile: force recompilation if makefile changes
fs Merge branch 'for-linus' of git://git.kernel.dk/linux-block
include PCI/msi: fix the pci_alloc_irq_vectors_affinity stub
init Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
ipc mm: introduce kv[mz]alloc helpers
kernel Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
lib Merge tag 'dmaengine-4.12-rc1' of git://git.infradead.org/users/vkoul/slave-dma
mm mm: vmscan: scan until it finds eligible pages
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
samples samples/bpf: run cleanup routines when receiving SIGTERM
scripts Merge tag 'devicetree-fixes-for-4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
security Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
sound drm/i915: Fix runtime PM for LPE audio
tools Merge branches 'acpi-button' and 'acpi-tools'
usr initramfs: provide a way to ignore image provided by bootloader
virt KVM: arm/arm64: Hold slots_lock when unregistering kvm io bus devices
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Add hch to .get_maintainer.ignore
.gitattributes .gitattributes: set git diff driver for C source code files
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.