Messages in this thread | | | From | Roland Dreier <> | Subject | Re: [PATCH 044/190] Revert "RDMA/pvrdma: Fix missing pci disable in pvrdma_pci_probe()" | Date | Wed, 21 Apr 2021 12:25:17 -0700 |
| |
This is a really weird one because the patch actually looks correct and the revert looks wrong??
ret = pci_enable_device(pdev);
[...dbg statements...]
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM) || !(pci_resource_flags(pdev, 1) & IORESOURCE_MEM)) { dev_err(&pdev->dev, "PCI BAR region not MMIO\n"); ret = -ENOMEM; goto err_disable_pdev; }
- R.
| |