On Wed, Feb 4, 2015 at 6:09 AM, Quentin Lambert
wrote:
> - dev->eq_table.icm_dma = pci_map_page(dev->pdev,
> dev->eq_table.icm_page, 0,
> - PAGE_SIZE,
> PCI_DMA_BIDIRECTIONAL);
> - if (pci_dma_mapping_error(dev->pdev, dev->eq_table.icm_dma
Replace occurences of the pci api by appropriate call to the dma api.
A simplified version of the semantic patch that finds this problem is as
follows: (http://coccinelle.lip6.fr)
@deprecated@
idexpression id;
position p;
@@
(
pci_dma_supported@p ( id, ...)
|
pci_alloc_consistent@p ( id, ...
2 matches
Mail list logo