Re: [PATCH 09/16] [media] au6610: get rid of on-stack dma buffer

2011-03-18 Thread Antti Palosaari
On 03/18/2011 11:27 PM, Florian Mickler wrote: On Fri, 18 Mar 2011 18:34:58 +0200 Antti Palosaari wrote: On 03/15/2011 10:43 AM, Florian Mickler wrote: usb_control_msg initiates (and waits for completion of) a dma transfer using the supplied buffer. That buffer thus has to be seperately alloc

Re: [PATCH 09/16] [media] au6610: get rid of on-stack dma buffer

2011-03-18 Thread Florian Mickler
On Fri, 18 Mar 2011 18:34:58 +0200 Antti Palosaari wrote: > On 03/15/2011 10:43 AM, Florian Mickler wrote: > > usb_control_msg initiates (and waits for completion of) a dma transfer using > > the supplied buffer. That buffer thus has to be seperately allocated on > > the heap. > > > > In lib/dma_

Re: [PATCH 09/16] [media] au6610: get rid of on-stack dma buffer

2011-03-18 Thread Antti Palosaari
On 03/15/2011 10:43 AM, Florian Mickler wrote: usb_control_msg initiates (and waits for completion of) a dma transfer using the supplied buffer. That buffer thus has to be seperately allocated on the heap. In lib/dma_debug.c the function check_for_stack even warns about it: WARNING: at l