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 oliv...@sobrie.be
---
Here is the incremental patch.
Thank you Greg !
Olivier
drivers/net/can/usb/kvaser_usb.c |
On Fri, Nov 23, 2012 at 02:30:28PM +0100, Olivier Sobrie wrote:
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 oliv...@sobrie.be
---
Here is the incremental
On 11/23/2012 02:40 PM, Olivier Sobrie wrote:
On Fri, Nov 23, 2012 at 02:30:28PM +0100, Olivier Sobrie wrote:
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