linux/net/caif
Arnd Bergmann b630c781bc caif: reduce stack size, again
I tried to fix the stack usage in this function a couple of years ago,
but there is still a problem with the latest gcc versions in some
configurations:

net/caif/cfctrl.c:553:1: error: the frame size of 1296 bytes is larger than 1280 bytes [-Werror=frame-larger-than=]

Reduce this once again, with a separate cfctrl_link_setup() function that
holds the bulk of all the local variables. It also turns out that the
param[] array that takes up a large portion of the stack is write-only
and can be left out here.

Fixes: ce6289661b ("caif: reduce stack size with KASAN")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://patch.msgid.link/20250620112244.3425554-1-arnd@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-06-23 16:58:43 -07:00
..
caif_dev.c net: fill in MODULE_DESCRIPTION()s for CAIF 2024-01-05 08:06:35 -08:00
caif_socket.c net: fill in MODULE_DESCRIPTION()s for CAIF 2024-01-05 08:06:35 -08:00
caif_usb.c net: fill in MODULE_DESCRIPTION()s for CAIF 2024-01-05 08:06:35 -08:00
cfcnfg.c caif: move from strlcpy with unused retval to strscpy 2022-08-22 17:57:35 -07:00
cfctrl.c caif: reduce stack size, again 2025-06-23 16:58:43 -07:00
cfdbgl.c
cfdgml.c
cffrml.c
cfmuxl.c
cfpkt_skbuff.c net: caif: use max() to simplify the code 2024-08-26 09:48:53 -07:00
cfrfml.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
cfserl.c
cfsrvl.c caif: Remove unused cfsrvl_getphyid 2024-10-08 15:33:49 -07:00
cfutill.c
cfveil.c
cfvidl.c
chnl_net.c rtnetlink: Pack newlink() params into struct 2025-02-21 15:28:02 -08:00
Kconfig
Makefile