1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-30 08:32:52 +08:00

Add missing error code

This commit is contained in:
Alex Forencich 2020-07-30 23:48:26 -07:00
parent 5a9117cf8b
commit ae57fc941c

View File

@ -244,6 +244,7 @@ static int mqnic_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
mqnic->msi_nvecs = pci_alloc_irq_vectors(pdev, 1, 32, PCI_IRQ_MSI);
if (mqnic->msi_nvecs < 0)
{
ret = -ENOMEM;
dev_err(dev, "Failed to allocate IRQs");
goto fail_map_bars;
}