# Re: \[PATCH 2/2\] mlxsw: spectrum\_router: avoid potential uninitialized data usage

- From: Arnd Bergmann \<arnd@arndb.de\>
- Date: 2016-10-01 03:43:43 
- List: netdev
- Page: https://ratatoskr.run/netdev/2016/10/4846955
- Thread: https://ratatoskr.run/netdev/2016/09/4846798/t.md

```text
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
```
