Re: [PATCH v2] PCI/msi: fix the pci_alloc_irq_vectors_affinity stub

2017-05-26 Thread Linus Torvalds
On Thu, May 25, 2017 at 10:46 PM, Christoph Hellwig wrote: > Bjorn, > > can you take this regression fix and sent it to Linux before -rc3? > I had hope we could get it into -rc2 but already missed that, and > I haven't heard a comment since.. I took it directly.. Linus

Re: [PATCH v2] PCI/msi: fix the pci_alloc_irq_vectors_affinity stub

2017-05-25 Thread Christoph Hellwig
Bjorn, can you take this regression fix and sent it to Linux before -rc3? I had hope we could get it into -rc2 but already missed that, and I haven't heard a comment since.. On Sat, May 20, 2017 at 06:59:54PM +0200, Christoph Hellwig wrote: > We need to return an error for any call that asks for

[PATCH v2] PCI/msi: fix the pci_alloc_irq_vectors_affinity stub

2017-05-20 Thread Christoph Hellwig
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 Reported-by: Steven Rostedt Fixes: aff17164