]> 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)
commitb877a12cafd5054afea2995af8735bc9824f5ba9
treeaea61bd9c5ffc34c73b6c9d021a1eed6338ab5a1
parent061f6faeae0705418eb5e3b548ea59ee9f7611e6
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: 460e4cf23303 ("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