diff options
author | Arnd Bergmann <arnd@arndb.de> | 2025-06-20 13:39:42 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2025-06-24 09:04:42 +0200 |
commit | 0e7facea6da2bd360361440786785752aa5b0e30 (patch) | |
tree | 4322a0748158eb7aedd085392fe6222b2f3e3d27 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 5c8013ae2e86ec36b07500ba4cacb14ab4d6f728 (diff) |
wifi: iwlegacy: work around excessive stack usage on clang/kasan
In some rare randconfig builds, I seem to trigger a bug in clang where
it unrolls a loop but then runs out of registers, which then get
spilled to the stack:
net/wireless/intel/iwlegacy/4965-rs.c:2262:1: error: stack frame size (1696) exceeds limit (1280) in 'il4965_rs_rate_init' [-Werror,-Wframe-larger-than]
This seems to be the same one I saw in the omapdrm driver, and there is
an easy workaround by not inlining the il4965_rs_rate_scale_clear_win
function.
Link: https://github.com/llvm/llvm-project/issues/143908
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Stanislaw Gruszka <stf_xl@wp.pl>
Link: https://patch.msgid.link/20250620113946.3987160-1-arnd@kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions