linux/drivers/staging/gdm724x
Amey Narkhede bb5bfd51f6 staging: gdm724x: Fix DMA from stack
commit 7c3a0635cd008eaca9a734dc802709ee0b81cac5 upstream.

Stack allocated buffers cannot be used for DMA
on all architectures so allocate hci_packet buffer
using kmalloc.

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Amey Narkhede <ameynarkhede03@gmail.com>
Link: https://lore.kernel.org/r/20210211053819.34858-1-ameynarkhede03@gmail.com
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-04 10:26:46 +01:00
..
Kconfig staging: add missing SPDX lines to Kconfig files 2019-04-03 11:10:15 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
TODO
gdm_endian.c staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
gdm_endian.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
gdm_lte.c Staging: gdm724x: Remove unnecessary print statements 2019-03-22 15:16:28 +01:00
gdm_lte.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
gdm_mux.c staging: gdm724x: Do not break expressions 2019-03-18 07:53:39 +01:00
gdm_mux.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
gdm_tty.c Staging: gdm724x: use match_string() helper 2018-06-17 09:05:13 +02:00
gdm_tty.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
gdm_usb.c staging: gdm724x: Fix DMA from stack 2021-03-04 10:26:46 +01:00
gdm_usb.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
hci.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
hci_packet.h staging: gdm724x: Rename dftEpsId to dft_eps_id 2019-03-21 08:26:52 +01:00
netlink_k.c staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
netlink_k.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00