]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: ath3k: don't use stack memory for DMA
authorStanislaw Gruszka <sgruszka@redhat.com>
Mon, 8 Jul 2013 08:27:23 +0000 (10:27 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 25 Jul 2013 18:52:32 +0000 (19:52 +0100)
commit298a3de4b87cc51deec11ab3d4c5f8f5683129b8
tree3cbc07678c393b519785623871bb1626df9256cf
parent7711548d5dc0319abc596f07b9191b9413fb2c44
Bluetooth: ath3k: don't use stack memory for DMA

Memory allocated by vmalloc (including stack) can not be used for DMA,
i.e. data pointer on usb_control_msg() should not point to stack memory.

Resolves:
https://bugzilla.redhat.com/show_bug.cgi?id=977558

Reported-and-tested-by: Andy Lawrence <dr.diesel@gmail.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
drivers/bluetooth/ath3k.c