]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6a6ce5531276e1f37c84c0c896d6268efa841445
treed16ff7d35ead03ca64f6eaa221dd6d97ecd7f7ed
parent4328ba9a44f1e5d424e5ad43afe3e46b1f6e703f
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