lkml.org 
[lkml]   [2009]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] appletouch: fix DMA to/from stack buffer
Date
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:
> > 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:
>
> > 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



\
 
 \ /
  Last update: 2009-05-01 15:39    [W:2.158 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site