Thread (11 messages) flat view 11 messages, 4 authors, 2012-11-23

Re: [PATCH v2] kvaser_usb: fix "dma on the stack" errors

From: Olivier Sobrie <hidden>
Date: 2012-11-23 14:16:10
Also in: linux-can

On Fri, Nov 23, 2012 at 03:08:08PM +0100, Marc Kleine-Budde wrote:
On 11/23/2012 02:54 PM, Olivier Sobrie wrote:
quoted
The dma buffer given to usb_bulk_msg() must be allocated and not on
the stack.
See Documentation/DMA-API-HOWTO.txt section "What memory is DMA'able?"

Signed-off-by: Olivier Sobrie <redacted>
Thanks, I've squashed it into the original patch and pushed to
linux-can-next/for-davem
Ok thanks.
Have a good week-end,

Olivier
Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


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