Re: [PATCH 1/2] ide: remove deprecated use of pci api

2015-04-13 Thread David Miller
From: Dan Carpenter Date: Mon, 13 Apr 2015 20:23:24 +0300 > On Mon, Apr 13, 2015 at 01:08:13PM -0400, David Miller wrote: >> From: One Thousand Gnomes >> Date: Mon, 13 Apr 2015 13:25:30 +0100 >> >> > On Thu, 9 Apr 2015 13:46:27 +0200 >> > Quentin Lambert wrote: >> > >> >> Replace occurences

Re: [PATCH 1/2] ide: remove deprecated use of pci api

2015-04-13 Thread Dan Carpenter
On Mon, Apr 13, 2015 at 01:08:13PM -0400, David Miller wrote: > From: One Thousand Gnomes > Date: Mon, 13 Apr 2015 13:25:30 +0100 > > > On Thu, 9 Apr 2015 13:46:27 +0200 > > Quentin Lambert wrote: > > > >> Replace occurences of the pci api by appropriate call to the dma api. > >> > > > > Dri

Re: [PATCH 1/2] ide: remove deprecated use of pci api

2015-04-13 Thread David Miller
From: One Thousand Gnomes Date: Mon, 13 Apr 2015 13:25:30 +0100 > On Thu, 9 Apr 2015 13:46:27 +0200 > Quentin Lambert wrote: > >> Replace occurences of the pci api by appropriate call to the dma api. >> > > Drivers/ide is obsolete. It probably ought to go at this point but even > so it exist

Re: [PATCH 1/2] ide: remove deprecated use of pci api

2015-04-13 Thread One Thousand Gnomes
On Thu, 9 Apr 2015 13:46:27 +0200 Quentin Lambert wrote: > Replace occurences of the pci api by appropriate call to the dma api. > Drivers/ide is obsolete. It probably ought to go at this point but even so it exists solely in case of a problem or compatibility issue with drivers/ata. Cleaning

Re: [PATCH 1/2] ide: remove deprecated use of pci api

2015-04-09 Thread Dan Carpenter
Why are these GFP_ATOMIC allocations? regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.o

[PATCH 1/2] ide: remove deprecated use of pci api

2015-04-09 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, ...