aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2026-09-25 15:07:36 +0200
committerJohannes Berg <johannes.berg@intel.com>2026-09-28 11:46:24 +0200
commitf07554557ff2dacb36e05343e54a3323d0e010e6 (patch)
treea5e1767f55481e9fd96b7380554023b661fda172 /scripts/Makefile.thinlto
parentwifi: cw1200: fix link_id_db OOB access via device-controlled link ID (diff)
wifi: b43legacy: work around stack frame size warning
I came across a rare warning in the b43legacy driver while building randconfig kernels using clang-21.1.8, with KASAN enabled: drivers/net/wireless/broadcom/b43legacy/main.c:3250:12: error: stack frame size (1392) exceeds limit (1280) in 'b43legacy_wireless_core_init' [-Werror,-Wframe-larger-than] 3250 | static int b43legacy_wireless_core_init(struct b43legacy_wldev *dev) | ^ There are no actual large variables on the stack here, just excessive spills, and the code looks fine otherwise, so this is really an optimization quirk in the compiler. Marking the prepare_phy_data_for_init() function as noinline completely avoids the issue, with no function in this file using more than 200 bytes of stack space, same as without KASAN. Link: https://pastebin.com/raw/KpV124Ep # .config Link: https://pastebin.com/CxWfsBN0 # assembler output, truncated Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://patch.msgid.link/20260925130749.4191347-1-arnd@kernel.org Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions