kernel-fxtec-pro1x/drivers/staging/rtl8188eu
Arnd Bergmann 54ea0441a4 staging: rtl8188: avoid excessive stack usage
[ Upstream commit c497ae2077c055b85c1bf04f3d182a84bd8f365b ]

The rtl8188 copy of the os_dep support code causes a
warning about a very significant stack usage in the translate_scan()
function:

drivers/staging/rtl8188eu/os_dep/ioctl_linux.c: In function 'translate_scan':
drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:306:1: error: the frame size of 1560 bytes is larger than 1400 bytes [-Werror=frame-larger-than=]

Use the same trick as in the rtl8723bs copy of the same function, and
allocate it dynamically.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20200104214832.558198-1-arnd@arndb.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-24 08:34:46 +01:00
..
core staging: rtl8188eu: fix possible null dereference 2019-12-31 16:34:49 +01:00
hal
include
os_dep staging: rtl8188: avoid excessive stack usage 2020-02-24 08:34:46 +01:00
Kconfig
Makefile
TODO