From: Dan Carpenter Date: Tue, 4 May 2010 12:14:29 +0000 (-0300) Subject: V4L/DVB: media/az6027: doing dma on the stack X-Git-Tag: v2.6.35-rc1~480^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32ec4576c3fb37316b1d11a04b220527822f3f0d;p=pandora-kernel.git V4L/DVB: media/az6027: doing dma on the stack I changed the dma buffers to use allocated memory instead of stack memory. The reason for this is documented in Documentation/DMA-API-HOWTO.txt under the section: "What memory is DMA'able?" That document was only added a couple weeks ago and there are still lots of modules which haven't been corrected yet. Btw. Smatch includes a pretty good test to find places which use stack memory as a dma buffer. That's how I found these. (http://smatch.sf.net). Signed-off-by: Dan Carpenter Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed