Re: [PATCH] ata: remove deprecated use of pci api

2015-04-08 Thread Tejun Heo
On Wed, Apr 08, 2015 at 02:34:10PM +0200, Quentin Lambert wrote: > 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; > positi

[PATCH] ata: remove deprecated use of pci api

2015-04-08 Thread Quentin Lambert
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, ...