mirror of
https://github.com/torvalds/linux.git
synced 2026-12-04 20:34:05 +00:00
It returns the number of vectors allocated when successful, so check for
a negative error only.
Fixes: 3bb434cd ("vmw_vmci: switch to pci_irq_alloc_vectors")
Signed-off-by: Christoph Hellwig <[email protected]>
Reported-by: Loïc Yhuel <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>