aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2016-03-05 14:57:38 +0100
committerIngo Molnar <[email protected]>2016-03-05 14:57:38 +0100
commitca031745fdfc38fed0b9da89bd07e332fce96520 (patch)
tree0984d40864c2a3c6797b0ee0d6c7507db36b099b
parent801ccdbf018ca5dbd478756ece55cd6c7726ed5b (diff)
Revert "kbuild: Add option to turn incompatible pointer check into error"
This reverts commit ef50c046338948df9f23fb5ef853efda0274c7b3. So adding -Werror=incompatible-pointer-types wasn't a bad idea, but it should really not be done in the scheduler tree: it exposes us to a number of pre-existing warnings (most of them harmless), now upgraded to build failures... This should be done via the kbuild tree. Cc: Daniel Wagner <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Peter Zijlstra (Intel) <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: [email protected] Cc: Boqun Feng <[email protected]> Cc: Marcelo Tosatti <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: Paul Gortmaker <[email protected]> Cc: Paolo Bonzini <[email protected]> Cc: "Paul E. McKenney" <[email protected]> Cc: [email protected]
-rw-r--r--Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index db2bc432b944..af6e5f893d56 100644
--- a/Makefile
+++ b/Makefile
@@ -773,9 +773,6 @@ KBUILD_CFLAGS += $(call cc-option,-Werror=strict-prototypes)
# Prohibit date/time macros, which would make the build non-deterministic
KBUILD_CFLAGS += $(call cc-option,-Werror=date-time)
-# enforce correct pointer usage
-KBUILD_CFLAGS += $(call cc-option,-Werror=incompatible-pointer-types)
-
# use the deterministic mode of AR if available
KBUILD_ARFLAGS := $(call ar-option,D)