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)
commitb2d99bcb27225fe420a8923b21861aef2bb43d9b
tree3c41e38e4c86f0e043abf93ef1936c9eea75c3c8
parentb159e86b5a2ab826b3a292756072f4cc523675ab
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