]> git.baikalelectronics.ru Git - kernel.git/commit
selinux: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavoars@kernel.org>
Fri, 20 Nov 2020 18:32:26 +0000 (12:32 -0600)
committerPaul Moore <paul@paul-moore.com>
Mon, 23 Nov 2020 23:21:13 +0000 (18:21 -0500)
commit26c624f9e250471f23f447c8d27ea920bf97baf7
tree3c41e38e4c86f0e043abf93ef1936c9eea75c3c8
parent65a2376cd64b99dcb1b1c5de2c494049990f20e2
selinux: 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>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/hooks.c