]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 12 Jan 2017 21:12:42 +0000 (22:12 +0100)
commita3be12c60ec142c502b43a4eae8db1f591723da1
tree5938460f7b11492fd52e18956bdeddc9a232c693
parente603b849f35bcdae277a0cfea967df03a7c6be71
ieee802154: atusb: do not use the stack for buffers to make them DMA able

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>
Cc: stable@vger.kernel.org
Signed-off-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/net/ieee802154/atusb.c