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

2011-03-18 Thread Florian Mickler
On Fri, 18 Mar 2011 18:36:11 +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 06/16] [media] ce6230: 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

[PATCH 06/16] [media] ce6230: get rid of on-stack dma buffer

2011-03-15 Thread Florian Mickler
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 lib/dma-debug.c:866 check_for_stack Note: This ch