From 3adda57403b9fed1298fa226e237a1f06bb44fcc Mon Sep 17 00:00:00 2001 From: Rishabh Bhatnagar Date: Mon, 9 Jul 2018 14:55:27 -0700 Subject: [PATCH] um: x86_64: Remove the FRAME_WARN config option Compilation for x86_64_defconfig gives the following warning: net/core/rtnetlink.c:3099:1: warning: the frame size of 1280 bytes is larger than 1024 bytes [-Wframe-larger-than=]. It is introduced by the commit: rtnetlink: Remove VLA usage (ccf8dbcd062a930e64741c939ca784d15316aa0c). As suggested by this email thread: https://www.mail-archive.com/netdev@vger.kernel.org/msg239148.html arch/um/configs/x86_64_defconfig:CONFIG_FRAME_WARN=1024 lib/Kconfig.debug: config FRAME_WARN int "Warn for stack frames larger than (needs gcc 4.4)" range 0 8192 default 3072 if KASAN_EXTRA default 2048 if GCC_PLUGIN_LATENT_ENTROPY default 1280 if (!64BIT && PARISC) default 1024 if (!64BIT && !PARISC) default 2048 if 64BIT Just dropping the defconfig there should fix it. Change-Id: Ie5374721152dd888d6ea18bfc05538d454efe249 Signed-off-by: Rishabh Bhatnagar --- arch/um/configs/x86_64_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/um/configs/x86_64_defconfig b/arch/um/configs/x86_64_defconfig index 3281d7600225..529ab4ccc570 100644 --- a/arch/um/configs/x86_64_defconfig +++ b/arch/um/configs/x86_64_defconfig @@ -68,5 +68,4 @@ CONFIG_PROC_KCORE=y CONFIG_TMPFS=y CONFIG_NLS=y CONFIG_DEBUG_INFO=y -CONFIG_FRAME_WARN=1024 CONFIG_DEBUG_KERNEL=y