diff options
author | Arnd Bergmann <arnd@arndb.de> | 2025-06-20 13:22:39 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-06-23 16:58:43 -0700 |
commit | b630c781bcf6ff87657146661816d0d30a902139 (patch) | |
tree | 317c5fd4850bf0f3d0ce8d0637402e51f2b2a757 /net/unix/af_unix.c | |
parent | 7df6c0245595871500758c4cfa6052081e6687c9 (diff) |
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: ce6289661b14 ("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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions