]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitb2f47377e871a5f3cc5bd0dd58d3ea1fbc58948d
tree0d6e3c3fb8be2f5d65f89fce7b7c70bdedf61cf9
parent06693f305e60202d2795a10bee7fb7da23bc2acc
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