Go to file
Arnd Bergmann aa6f46740e caif: reduce stack size, again
[ Upstream commit b630c781bc ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-08-15 16:38:40 +02:00
arch powerpc/pseries/dlpar: Search DRC index from ibm,drc-indexes for IO add 2025-08-15 16:38:39 +02:00
block
certs
crypto
Documentation
drivers wifi: ath12k: Pass ab pointer directly to ath12k_dp_tx_get_encap_type() 2025-08-15 16:38:40 +02:00
fs
include drm/panthor: Add missing explicit padding in drm_panthor_gpu_info 2025-08-15 16:38:37 +02:00
init
io_uring
ipc
kernel bpf: handle jset (if a & b ...) as a jump in CFG computation 2025-08-15 16:38:38 +02:00
lib
LICENSES
mm slub: Fix a documentation build error for krealloc() 2025-08-15 16:38:38 +02:00
net caif: reduce stack size, again 2025-08-15 16:38:40 +02:00
rust
samples samples: mei: Fix building on musl libc 2025-08-15 16:38:34 +02:00
scripts
security
sound
tools bpftool: Fix memory leak in dump_xx_nlmsg on realloc failure 2025-08-15 16:38:39 +02:00
usr
virt
.clang-format
.clippy.toml
.cocciconfig
.editorconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.pylintrc
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the reStructuredText markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.