[PATCH] fix detection of CONFIG_FRAME_WARN=0

From: Mike Frysinger
Date: Sat May 23 2009 - 19:39:04 EST


The checking of CONFIG_FRAME_WARN in the top level Makefile forgot to
actually derefence the variable thus leading to an always true check.

Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
CC: Andi Kleen <ak@xxxxxxx>
CC: Sam Ravnborg <sam@xxxxxxxxxxxx>
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 739fd34..47c8d11 100644
--- a/Makefile
+++ b/Makefile
@@ -533,7 +533,7 @@ endif

include $(srctree)/arch/$(SRCARCH)/Makefile

-ifneq (CONFIG_FRAME_WARN,0)
+ifneq ($(CONFIG_FRAME_WARN),0)
KBUILD_CFLAGS += $(call cc-option,-Wframe-larger-than=${CONFIG_FRAME_WARN})
endif

--
1.6.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/