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


Groups > linux.kernel > #1494346

Re: [PATCH 2/2] mlxsw: spectrum_router: avoid potential uninitialized data usage

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] mlxsw: spectrum_router: avoid potential uninitialized data usage
Date 2016-10-01 05:50 +0200
Message-ID <snjtf-2OO-5@gated-at.bofh.it> (permalink)
References <sn8Hv-4bK-3@gated-at.bofh.it> <sn8Hv-4bK-1@gated-at.bofh.it> <snapX-5oq-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Friday 30 September 2016, Ido Schimmel wrote:
> BTW, which flags did you pass to generate this error? I can only
> reproduce this with EXTRA_CFLAGS="-Wmaybe-uninitialized -Werror", but
> for some reason EXTRA_CFLAGS="-Wall -Werror" is silent. Any idea why? I
> would like to add this to my git hooks and avoid these errors in the
> future :)

Linus disabled the warning for v4.8. I've just talked to him today about this
warning in particular, and hope that we can find a way to enable it by
default again in the future, as a lot of possible bugs get introduced,
but certain compiler versions also produce a lot of false positives.

	Arnd

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


Thread

[PATCH 2/2] mlxsw: spectrum_router: avoid potential uninitialized data usage Arnd Bergmann <arnd@arndb.de> - 2016-09-30 18:20 +0200
  Re: [PATCH 2/2] mlxsw: spectrum_router: avoid potential  uninitialized data usage Ido Schimmel <idosch@idosch.org> - 2016-09-30 20:10 +0200
    Re: [PATCH 2/2] mlxsw: spectrum_router: avoid potential uninitialized data usage Arnd Bergmann <arnd@arndb.de> - 2016-10-01 05:50 +0200
  Re: [PATCH 2/2] mlxsw: spectrum_router: avoid potential  uninitialized data usage David Miller <davem@davemloft.net> - 2016-10-03 08:00 +0200

csiph-web