diff mbox

[09/10] backport: increase max stack frame size compiler check to 1280

Message ID 20180218132459.11011-10-luca@coelho.fi (mailing list archive)
State Accepted
Headers show

Commit Message

Luca Coelho Feb. 18, 2018, 1:24 p.m. UTC
From: Luca Coelho <luciano.coelho@intel.com>

The verification code has some large data variables that are allocated
in the stack.  Increase the maximum stack frame size in the compiler
check slightly (from 1024 to 1280) to prevent harmless warnings.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
---
 backport/compat/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/backport/compat/Makefile b/backport/compat/Makefile
index 5c79b9b849cb..ac70aaf82fcc 100644
--- a/backport/compat/Makefile
+++ b/backport/compat/Makefile
@@ -1,4 +1,4 @@ 
-ccflags-y += -I$(src)
+ccflags-y += -I$(src) -Wframe-larger-than=1280
 ifeq ($(CONFIG_BACKPORT_INTEGRATE),)
 obj-m += compat.o
 else