Skip to content
Commit 83b4605b authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Linus Torvalds
Browse files

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: 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>
parent be941bf2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment