mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +00:00
pci_alloc_irq_vectors() returns number of vectors allocated. Fix the check
for error condition.
Fixes: cca678dfba ("scsi: fnic: switch to pci_alloc_irq_vectors")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Govindarajulu Varadarajan <[email protected]>
Acked-by: Satish Kharat <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>