From 81f1a53391031007849b2044fa24ec89a588e7fc Mon Sep 17 00:00:00 2001 From: Yao Zi Date: Wed, 16 Sep 2026 19:32:01 +0000 Subject: [PATCH] Raise CONFIG_FRAME_WARN to 2304 To work around warnings frequently showing up in AMDGPU when building with LLVM. Signed-off-by: Yao Zi --- toolchain.config | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/toolchain.config b/toolchain.config index d444b44..7f31a3d 100644 --- a/toolchain.config +++ b/toolchain.config @@ -1,3 +1,9 @@ CONFIG_CC_IS_CLANG=y CONFIG_AS_IS_LLVM=y CONFIG_LD_IS_LLD=y + +# Some kernel modules, especially AMDGPU, frequently break the default warning +# threshold 2048 when built with LLVM. Thankfully it usually exceeds the limit +# by only a little (2088 v.s. 2048, etc.), so let's not be too nervous for this +# until someone complains. +CONFIG_FRAME_WARN=2304