diff options
author | Nathan Chancellor <natechancellor@gmail.com> | 2019-06-14 09:52:42 -0700 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-06-24 03:43:03 +0900 |
commit | 3a61925e91ba9f0ece1b444eb1aa49caa59e4ae7 (patch) | |
tree | 0617bca13695d92a0e5f5f84312e3a50794f1667 /lib/raid6/Makefile | |
parent | 589834b3a0097a4908f4112eac0ca2feb486fa32 (diff) | |
download | linux-stable-3a61925e91ba9f0ece1b444eb1aa49caa59e4ae7.tar.gz linux-stable-3a61925e91ba9f0ece1b444eb1aa49caa59e4ae7.tar.bz2 linux-stable-3a61925e91ba9f0ece1b444eb1aa49caa59e4ae7.zip |
kbuild: Enable -Wuninitialized
This helps fine very dodgy behavior through both -Wuninitialized
(warning that a variable is always uninitialized) and
-Wsometimes-uninitialized (warning that a variable is sometimes
uninitialized, like GCC's -Wmaybe-uninitialized). These warnings
catch things that GCC doesn't such as:
https://lore.kernel.org/lkml/86649ee4-9794-77a3-502c-f4cd10019c36@lca.pw/
We very much want to catch these so turn this warning on so that CI is
aware of it.
Link: https://github.com/ClangBuiltLinux/linux/issues/381
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'lib/raid6/Makefile')
0 files changed, 0 insertions, 0 deletions