Revert "lib: Revert use of fallthrough pseudo-keyword in lib/"
authorNick Desaulniers <ndesaulniers@google.com>
Mon, 16 Nov 2020 04:35:31 +0000 (20:35 -0800)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Wed, 18 Nov 2020 20:15:17 +0000 (14:15 -0600)
commit4c1ca831adb1010e473a18eb01b3fbef7595f230
treeb1384a54e1a94b1f4f8943d5a81216efeaf9a579
parent77433830ed164a0bc38dd43877bab3f7f7fd7fa3
Revert "lib: Revert use of fallthrough pseudo-keyword in lib/"

This reverts commit 6a9dc5fd6170 ("lib: Revert use of fallthrough
pseudo-keyword in lib/")

Now that we can build arch/powerpc/boot/ free of -Wimplicit-fallthrough,
re-enable these fixes for lib/.

Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Tested-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Miguel Ojeda <ojeda@kernel.org>
Link: https://github.com/ClangBuiltLinux/linux/issues/236
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
16 files changed:
lib/asn1_decoder.c
lib/assoc_array.c
lib/bootconfig.c
lib/cmdline.c
lib/dim/net_dim.c
lib/dim/rdma_dim.c
lib/glob.c
lib/siphash.c
lib/ts_fsm.c
lib/vsprintf.c
lib/xz/xz_dec_lzma2.c
lib/xz/xz_dec_stream.c
lib/zstd/bitstream.h
lib/zstd/compress.c
lib/zstd/decompress.c
lib/zstd/huf_compress.c