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)
commit5eb35a6ccea61648a55713c076ab65423eea1ac0
treeaea61bd9c5ffc34c73b6c9d021a1eed6338ab5a1
parent2fd2b550a5ed13b1d6640ff77630fc369636a544
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: 6cc33eba232c ("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