Loading drivers/net/mlx4/main.c +1 −2 Original line number Diff line number Diff line Loading @@ -736,8 +736,7 @@ static int __mlx4_init_one(struct pci_dev *pdev, const struct pci_device_id *id) } /* * Check for BARs. We expect 0: 1MB, 2: 8MB, 4: DDR (may not * be present) * Check for BARs. We expect 0: 1MB */ if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM) || pci_resource_len(pdev, 0) != 1 << 20) { Loading Loading
drivers/net/mlx4/main.c +1 −2 Original line number Diff line number Diff line Loading @@ -736,8 +736,7 @@ static int __mlx4_init_one(struct pci_dev *pdev, const struct pci_device_id *id) } /* * Check for BARs. We expect 0: 1MB, 2: 8MB, 4: DDR (may not * be present) * Check for BARs. We expect 0: 1MB */ if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM) || pci_resource_len(pdev, 0) != 1 << 20) { Loading