Re: [PATCH 4/9] ARM: dma-mapping: NULLify dev->archdata.mapping pointer on detach

2013-06-19 Thread Marek Szyprowski
Hello, On 6/11/2013 11:39 AM, Hiroshi Doyu wrote: On Tue, 11 Jun 2013 10:50:15 +0200 Will Deacon wrote: > On Tue, Jun 11, 2013 at 06:34:55AM +0100, Hiroshi Doyu wrote: > > Hi Will, > > > > Will Deacon wrote @ Mon, 10 Jun 2013 20:34:40 +0200: > > > > > The current code only clobbers a local va

Re: [PATCH 4/9] ARM: dma-mapping: NULLify dev->archdata.mapping pointer on detach

2013-06-11 Thread Hiroshi Doyu
On Tue, 11 Jun 2013 10:50:15 +0200 Will Deacon wrote: > On Tue, Jun 11, 2013 at 06:34:55AM +0100, Hiroshi Doyu wrote: > > Hi Will, > > > > Will Deacon wrote @ Mon, 10 Jun 2013 20:34:40 +0200: > > > > > The current code only clobbers a local variable, so the device is left > > > with a stale ma

Re: [PATCH 4/9] ARM: dma-mapping: NULLify dev->archdata.mapping pointer on detach

2013-06-11 Thread Will Deacon
On Tue, Jun 11, 2013 at 06:34:55AM +0100, Hiroshi Doyu wrote: > Hi Will, > > Will Deacon wrote @ Mon, 10 Jun 2013 20:34:40 +0200: > > > The current code only clobbers a local variable, so the device is left > > with a stale mapping pointer. > > True. This's my bad. Thanks. That's alright, it's

Re: [PATCH 4/9] ARM: dma-mapping: NULLify dev->archdata.mapping pointer on detach

2013-06-10 Thread Hiroshi Doyu
Hi Will, Will Deacon wrote @ Mon, 10 Jun 2013 20:34:40 +0200: > The current code only clobbers a local variable, so the device is left > with a stale mapping pointer. True. This's my bad. Thanks. ___ devicetree-discuss mailing list devicetree-discuss@

[PATCH 4/9] ARM: dma-mapping: NULLify dev->archdata.mapping pointer on detach

2013-06-10 Thread Will Deacon
The current code only clobbers a local variable, so the device is left with a stale mapping pointer. Cc: Hiroshi Doyu Signed-off-by: Will Deacon --- arch/arm/mm/dma-mapping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.