Thread (3 messages) 3 messages, 3 authors, 2009-05-01

Re: [PATCH] appletouch: fix DMA to/from stack buffer

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2009-05-01 13:36:47
Also in: lkml

On Tue, Apr 28, 2009 at 10:44:54AM +0200, Johannes Berg wrote:
On Mon, 2009-04-27 at 21:58 -0400, Bob Copeland wrote:
quoted
CONFIG_DMA_API_DEBUG spotted an instance of appletouch using
an array on the stack as a DMA buffer for certain hardware.
Change it to use a kmalloc()ed buffer instead.

This fixes the following error:
quoted
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>

Interestingly, I first thought the GFP_KERNEL is wrong due to
atp_reinit, but the GFP_ATOMIC in that is wrong instead :)
Applied to 'for-linus' branch, thank you.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help