Re: [PATCH tip v5 2/5] kbuild: Add option to turn incompatible pointer check into error
From: Thomas Gleixner <hidden>
Date: 2016-01-27 12:05:08
Also in:
linux-kbuild, lkml
From: Thomas Gleixner <hidden>
Date: 2016-01-27 12:05:08
Also in:
linux-kbuild, lkml
On Mon, 30 Nov 2015, Daniel Wagner wrote:
+ifdef CONFIG_ENABLE_ERR_TYPE_CHECK +KBUILD_CFLAGS += $(call cc-option,-Werror=incompatible-pointer-types) +endif
I don't see a value for making this configurable. If the compiler supports it, we should use it. It already found a bug, so why would we make that optional? Thanks, tglx