ieee802154: atusb: do not use the stack for buffers to make them DMA able
authorStefan Schmidt <stefan@osg.samsung.com>
Thu, 15 Dec 2016 17:40:14 +0000 (18:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Jan 2017 07:23:48 +0000 (08:23 +0100)
commit80aeb7bf5ca070b5a04873cfd54ed5a0a8fac4a2
treee9530e5ca46d82a1016ac56a43baae90f3a62b66
parent8f6f508f70fff722631cbef1729db3d96aa9dbdd
ieee802154: atusb: do not use the stack for buffers to make them DMA able

commit 05a974efa4bdf6e2a150e3f27dc6fcf0a9ad5655 upstream.

From 4.9 we should really avoid using the stack here as this will not be DMA
able on various platforms. This changes the buffers already being present in
time of 4.9 being released. This should go into stable as well.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ieee802154/atusb.c