* [GIT PULL] Enable -Wimplicit-fallthrough for Clang for 5.15-rc2
@ 2021-09-14 16:41 Gustavo A. R. Silva
0 siblings, 0 replies; only message in thread
From: Gustavo A. R. Silva @ 2021-09-14 16:41 UTC (permalink / raw)
To: Linus Torvalds
Cc: Kees Cook, Nathan Chancellor, Nick Desaulniers, linux-kernel,
linux-hardening, Gustavo A. R. Silva
The following changes since commit 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f:
Linux 5.15-rc1 (2021-09-12 16:28:37 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git tags/implicit-fallthrough-clang-5.15-rc2
for you to fetch changes up to 236378bb6ca791cbde68eacedd7688084d06177e:
Makefile: Enable -Wimplicit-fallthrough for Clang (2021-09-13 23:47:12 -0500)
----------------------------------------------------------------
Enable -Wimplicit-fallthrough for Clang for 5.15-rc2
Hi Linus,
Please, pull the following patches that fix the last warnings in
x86_64, ARM and MIPS reported by kernel test robot, and enables
-Wimplicit-fallthrough for Clang 14+, globally.
We had almost 40,000[1] of these issues for Clang in the beginning,
and there might be a couple more out there when building some
architectures with certain configurations. However, with the
recent fixes, I think we are in good shape and it is now possible
to enable -Wimplicit-fallthrough for Clang, with this finally getting rid of
the unintentional fallthrough bug-class in the kernel, entirely. :)
[1] https://github.com/KSPP/linux/issues/115
Thanks!
----------------------------------------------------------------
Gustavo A. R. Silva (4):
scsi: st: Fix fall-through warning for Clang
MIPS: Fix fall-through warnings for Clang
pcmcia: db1xxx_ss: Fix fall-through warning for Clang
Makefile: Enable -Wimplicit-fallthrough for Clang
Makefile | 8 ++++++++
arch/mips/alchemy/devboards/db1550.c | 1 +
arch/mips/kernel/uprobes.c | 1 +
drivers/pcmcia/db1xxx_ss.c | 1 +
drivers/scsi/st.c | 1 +
5 files changed, 12 insertions(+)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-14 16:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-14 16:41 [GIT PULL] Enable -Wimplicit-fallthrough for Clang for 5.15-rc2 Gustavo A. R. Silva
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.