1
0
Fork 0
alistair23-linux/drivers/staging/gdm724x
Amey Narkhede 7c3a0635cd staging: gdm724x: Fix DMA from stack
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-02-11 11:08:17 +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: Use fallthrough pseudo-keyword 2020-07-28 10:18:52 +02:00
gdm_lte.h staging: gdm724x: remove redundant license information 2018-04-26 09:17:34 +02:00
gdm_mux.c staging: gdm724x: Clarify naming of packet_type<->tty index symbols 2020-10-26 06:53:10 +01:00
gdm_mux.h staging: Replace zero-length array with flexible-array member 2020-02-23 19:18:54 +01: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-02-11 11:08:17 +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: Replace zero-length array with flexible-array member 2020-02-23 19:18:54 +01:00
netlink_k.c staging: gdm724x: use netdev_err() instead of pr_err() 2020-03-20 15:07:45 +01:00
netlink_k.h staging: gdm724x: use netdev_err() instead of pr_err() 2020-03-20 15:07:45 +01:00