Re: [PATCH tip v5 2/5] kbuild: Add option to turn incompatible pointer check into error
From: Thomas Gleixner
Date: Wed Jan 27 2016 - 07:05:12 EST
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