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


Groups > linux.kernel > #1318905 > unrolled thread

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

Started byThomas Gleixner <tglx@linutronix.de>
First post2016-01-27 13:10 +0100
Last post2016-01-27 13:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

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

FromThomas Gleixner <tglx@linutronix.de>
Date2016-01-27 13:10 +0100
SubjectRe: [PATCH tip v5 2/5] kbuild: Add option to turn incompatible pointer check into error
Message-ID<qVx57-3fC-3@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web