]> git.baikalelectronics.ru Git - kernel.git/commit
ieee802154: atusb: do not use the stack for address fetching to make it DMA able
authorStefan Schmidt <stefan@osg.samsung.com>
Thu, 15 Dec 2016 17:40:16 +0000 (18:40 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 12 Jan 2017 21:12:43 +0000 (22:12 +0100)
commit5e3adebe6180ca68b9956e530ae121d247a8f27d
treeaea61bd9c5ffc34c73b6c9d021a1eed6338ab5a1
parentd66be52646024a5c2aa0bd26710d2ac57e4aee05
ieee802154: atusb: do not use the stack for address fetching to make it 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 a buffer that was introduced in the
4.10 merge window.

Fixes: 30be9284681c ("ieee802154: atusb: try to read permanent extended
address from device")
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>
drivers/net/ieee802154/atusb.c