]> git.baikalelectronics.ru Git - kernel.git/commit
xfrm: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:41:00 +0000 (12:41 -0600)
committerGustavo A. R. Silva <gustavoars@kernel.org>
Tue, 18 May 2021 01:11:06 +0000 (20:11 -0500)
commitc7179317360d9ad06c07a8975caad758b47dcffd
tree6256e244f0298a6e553f047ae44f45f3e954d4d6
parent4a72aed68bdceb45c695a784683623f903f84601
xfrm: Fix fall-through warnings for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a break statement instead of 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/xfrm/xfrm_interface.c