]> git.baikalelectronics.ru Git - kernel.git/commit
afs: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 25 May 2021 14:40:22 +0000 (15:40 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 25 May 2021 17:30:34 +0000 (07:30 -1000)
commitb2db6c35ba986ebe1ddd6b65f21a810346299d7f
treefe0d0e96223247ce25827a5673f528889dfb6ba0
parenta050a6d2b7e80ca52b2f4141eaf3420d201b72b3
afs: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple
warnings by explicitly adding multiple fallthrough pseudo-keywords in
places where the code is intended to fall through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeffrey Altman <jaltman@auristor.com>
cc: linux-afs@lists.infradead.org
cc: linux-hardening@vger.kernel.org
Link: https://lore.kernel.org/r/51150b54e0b0431a2c401cd54f2c4e7f50e94601.1605896059.git.gustavoars@kernel.org/
Link: https://lore.kernel.org/r/20210420211615.GA51432@embeddedor/
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/afs/cmservice.c
fs/afs/fsclient.c
fs/afs/vlclient.c