Skip to content

Commit ca03174

Browse files
author
Ingo Molnar
committed
Revert "kbuild: Add option to turn incompatible pointer check into error"
This reverts commit ef50c04. 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]
1 parent 801ccdb commit ca03174

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -773,9 +773,6 @@ KBUILD_CFLAGS += $(call cc-option,-Werror=strict-prototypes)
773773
# Prohibit date/time macros, which would make the build non-deterministic
774774
KBUILD_CFLAGS += $(call cc-option,-Werror=date-time)
775775

776-
# enforce correct pointer usage
777-
KBUILD_CFLAGS += $(call cc-option,-Werror=incompatible-pointer-types)
778-
779776
# use the deterministic mode of AR if available
780777
KBUILD_ARFLAGS := $(call ar-option,D)
781778

0 commit comments

Comments
 (0)