ipv4: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:25:57 +0000 (12:25 -0600)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 18 May 2021 00:29:10 +0000 (19:29 -0500)
commit79121184f8e7c41c0ffe483f402b9d7f89256698
treed16ff7d35ead03ca64f6eaa221dd6d97ecd7f7ed
parentd66aea44b0ac7b58d9da8269ebd053f164e4aa54
ipv4: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix multiple
warnings by explicitly adding multiple break statements instead of just
letting the code fall through to the next case.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
net/ipv4/ah4.c
net/ipv4/esp4.c
net/ipv4/fib_semantics.c
net/ipv4/ip_vti.c
net/ipv4/ipcomp.c