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:
parent
5a9117cf8b
commit
ae57fc941c
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user