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 <rishabhb@codeaurora.org>
1 file changed