Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1318905

Re: [PATCH tip v5 2/5] kbuild: Add option to turn incompatible pointer check into error

From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH tip v5 2/5] kbuild: Add option to turn incompatible pointer check into error
Date 2016-01-27 13:10 +0100
Message-ID <qVx57-3fC-3@gated-at.bofh.it> (permalink)
References <qAwQp-4ef-3@gated-at.bofh.it> <qAwQq-4ef-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH tip v5 2/5] kbuild: Add option to turn incompatible  pointer check into error Thomas Gleixner <tglx@linutronix.de> - 2016-01-27 13:10 +0100

csiph-web