Messages in this thread | | | From | Dmitry Torokhov <> | Subject | Re: [PATCH] appletouch: fix DMA to/from stack buffer | Date | Fri, 1 May 2009 06:36:36 -0700 |
| |
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
| |