]> git.baikalelectronics.ru Git - kernel.git/commit
net/usb/r815x: replace USB buffer from stack to DMA-able
authorhayeswang <hayeswang@realtek.com>
Wed, 31 Jul 2013 09:21:22 +0000 (17:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Jul 2013 21:49:12 +0000 (14:49 -0700)
commitcec69528d60304ee470a2cb12170eed9e0d9fa36
tree0d6e3c3fb8be2f5d65f89fce7b7c70bdedf61cf9
parent1f3a1e87e0382c6b590367879d82ac230a604c16
net/usb/r815x: replace USB buffer from stack to DMA-able

Some USB buffers use stack which may not be DMA-able.
Use the buffers from kmalloc to replace those one.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r815x.c