Re: [PATCH 12/16] [media] lmedm04: get rid of on-stack dma buffers

2011-03-15 Thread Florian Mickler
On Tue, 15 Mar 2011 20:54:43 + Malcolm Priestley wrote: > The patch failed for the following reason. > > On Tue, 2011-03-15 at 09:43 +0100, Florian Mickler wrote: > > usb_control_msg initiates (and waits for completion of) a dma transfer using > > the supplied buffer. That buffer thus has to

Re: [PATCH 12/16] [media] lmedm04: get rid of on-stack dma buffers

2011-03-15 Thread Malcolm Priestley
The patch failed for the following reason. On Tue, 2011-03-15 at 09:43 +0100, 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 func

[PATCH 12/16] [media] lmedm04: get rid of on-stack dma buffers

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