Loading drivers/dma/ioat/dca.c +6 −6 Original line number Diff line number Diff line Loading @@ -147,7 +147,7 @@ static int ioat_dca_add_requester(struct dca_provider *dca, struct device *dev) u16 id; /* This implementation only supports PCI-Express */ if (dev->bus != &pci_bus_type) if (!dev_is_pci(dev)) return -ENODEV; pdev = to_pci_dev(dev); id = dcaid_from_pcidev(pdev); Loading Loading @@ -179,7 +179,7 @@ static int ioat_dca_remove_requester(struct dca_provider *dca, int i; /* This implementation only supports PCI-Express */ if (dev->bus != &pci_bus_type) if (!dev_is_pci(dev)) return -ENODEV; pdev = to_pci_dev(dev); Loading Loading @@ -320,7 +320,7 @@ static int ioat2_dca_add_requester(struct dca_provider *dca, struct device *dev) u16 global_req_table; /* This implementation only supports PCI-Express */ if (dev->bus != &pci_bus_type) if (!dev_is_pci(dev)) return -ENODEV; pdev = to_pci_dev(dev); id = dcaid_from_pcidev(pdev); Loading Loading @@ -354,7 +354,7 @@ static int ioat2_dca_remove_requester(struct dca_provider *dca, u16 global_req_table; /* This implementation only supports PCI-Express */ if (dev->bus != &pci_bus_type) if (!dev_is_pci(dev)) return -ENODEV; pdev = to_pci_dev(dev); Loading Loading @@ -496,7 +496,7 @@ static int ioat3_dca_add_requester(struct dca_provider *dca, struct device *dev) u16 global_req_table; /* This implementation only supports PCI-Express */ if (dev->bus != &pci_bus_type) if (!dev_is_pci(dev)) return -ENODEV; pdev = to_pci_dev(dev); id = dcaid_from_pcidev(pdev); Loading Loading @@ -530,7 +530,7 @@ static int ioat3_dca_remove_requester(struct dca_provider *dca, u16 global_req_table; /* This implementation only supports PCI-Express */ if (dev->bus != &pci_bus_type) if (!dev_is_pci(dev)) return -ENODEV; pdev = to_pci_dev(dev); Loading Loading
drivers/dma/ioat/dca.c +6 −6 Original line number Diff line number Diff line Loading @@ -147,7 +147,7 @@ static int ioat_dca_add_requester(struct dca_provider *dca, struct device *dev) u16 id; /* This implementation only supports PCI-Express */ if (dev->bus != &pci_bus_type) if (!dev_is_pci(dev)) return -ENODEV; pdev = to_pci_dev(dev); id = dcaid_from_pcidev(pdev); Loading Loading @@ -179,7 +179,7 @@ static int ioat_dca_remove_requester(struct dca_provider *dca, int i; /* This implementation only supports PCI-Express */ if (dev->bus != &pci_bus_type) if (!dev_is_pci(dev)) return -ENODEV; pdev = to_pci_dev(dev); Loading Loading @@ -320,7 +320,7 @@ static int ioat2_dca_add_requester(struct dca_provider *dca, struct device *dev) u16 global_req_table; /* This implementation only supports PCI-Express */ if (dev->bus != &pci_bus_type) if (!dev_is_pci(dev)) return -ENODEV; pdev = to_pci_dev(dev); id = dcaid_from_pcidev(pdev); Loading Loading @@ -354,7 +354,7 @@ static int ioat2_dca_remove_requester(struct dca_provider *dca, u16 global_req_table; /* This implementation only supports PCI-Express */ if (dev->bus != &pci_bus_type) if (!dev_is_pci(dev)) return -ENODEV; pdev = to_pci_dev(dev); Loading Loading @@ -496,7 +496,7 @@ static int ioat3_dca_add_requester(struct dca_provider *dca, struct device *dev) u16 global_req_table; /* This implementation only supports PCI-Express */ if (dev->bus != &pci_bus_type) if (!dev_is_pci(dev)) return -ENODEV; pdev = to_pci_dev(dev); id = dcaid_from_pcidev(pdev); Loading Loading @@ -530,7 +530,7 @@ static int ioat3_dca_remove_requester(struct dca_provider *dca, u16 global_req_table; /* This implementation only supports PCI-Express */ if (dev->bus != &pci_bus_type) if (!dev_is_pci(dev)) return -ENODEV; pdev = to_pci_dev(dev); Loading