From: Helge Deller Date: Wed, 7 Jul 2021 13:38:08 +0000 (+0200) Subject: parisc: Increase size of gcc stack frame check X-Git-Tag: v5.10.158~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1877001ed6d7be80aa6dbd2cb6698e74473205e;p=thirdparty%2Fkernel%2Fstable.git parisc: Increase size of gcc stack frame check [ Upstream commit 55b70eed81cba1331773d4aaf5cba2bb07475cd8 ] parisc uses much bigger frames than other architectures, so increase the stack frame check value to avoid compiler warnings. Cc: Arnd Bergmann Cc: Abd-Alrhman Masalkhi Cc: Christoph Hellwig Signed-off-by: Helge Deller Stable-dep-of: 152fe65f300e ("Kconfig.debug: provide a little extra FRAME_WARN leeway when KASAN is enabled") Signed-off-by: Sasha Levin --- diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 6b0649d8bca7b..8cf3b87edd632 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -298,7 +298,7 @@ config FRAME_WARN int "Warn for stack frames larger than" range 0 8192 default 2048 if GCC_PLUGIN_LATENT_ENTROPY - default 1280 if (!64BIT && PARISC) + default 1536 if (!64BIT && PARISC) default 1024 if (!64BIT && !PARISC) default 2048 if 64BIT help