mirror of
https://github.com/corundum/corundum.git
synced 2025-01-16 08:12:53 +08:00
pcie_print_link_status was added in kernel version 4.17
This commit is contained in:
parent
39fbc194fd
commit
c8dd50b051
@ -146,7 +146,9 @@ static int mqnic_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent
|
||||
#ifdef CONFIG_NUMA
|
||||
dev_info(dev, " NUMA node: %d", pdev->dev.numa_node);
|
||||
#endif
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,17,0)
|
||||
pcie_print_link_status(pdev);
|
||||
#endif
|
||||
|
||||
if (!(mqnic = devm_kzalloc(dev, sizeof(*mqnic), GFP_KERNEL)))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user