[GIT PULL] More fallthrough fixes for Clang for 5.14-rc1

From: Gustavo A. R. Silva
Date: Wed Jul 07 2021 - 01:26:31 EST


The following changes since commit d07f6ca923ea0927a1024dfccafc5b53b61cfecc:

Linux 5.13-rc2 (2021-05-16 15:27:44 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git tags/Wimplicit-fallthrough-clang-5.14-rc1

for you to fetch changes up to f1469e568bf6dcbdff9fd7cd7d2cc9ca9d06efeb:

Input: Fix fall-through warning for Clang (2021-07-06 16:26:17 -0500)

----------------------------------------------------------------
More fallthrough fixes for Clang for 5.14-rc1

Hi Linus,

Please, pull the following patches that fix many fall-through warnings
when building with Clang 12.0.0 and this[1] change reverted. Notice
that in order to enable -Wimplicit-fallthrough for Clang, such change[1]
is meant to be reverted at some point. So, these patches help to move
in that direction.

BTW: After these fixes are applied, there will be only 10 recently
introduced of these issues remaining in mainline (by recently
introduced I mean they never showed up in any release candidate
for v5.13), which I plan to fix once they show up in 5.14-rc1 and
send you a pull-request for 5.14-rc2, with the corresponding fixes
together with a patch for Makefile to finally enable
-Wimplici-fallthrough for Clang, globally.

Thanks!

[1] commit e2079e93f562c ("kbuild: Do not enable -Wimplicit-fallthrough for clang for now")

----------------------------------------------------------------
Gustavo A. R. Silva (4):
net/mlx4: Fix fall-through warning for Clang
i3c: master: cdns: Fix fall-through warning for Clang
scsi: aic94xx: Fix fall-through warning for Clang
Input: Fix fall-through warning for Clang

drivers/i3c/master/i3c-master-cdns.c | 2 ++
drivers/input/joystick/sidewinder.c | 1 +
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c | 1 +
drivers/scsi/aic94xx/aic94xx_sds.c | 4 +++-
4 files changed, 7 insertions(+), 1 deletion(-)