mirror of
https://github.com/torvalds/linux.git
synced 2024-10-23 21:50:43 +00:00
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>
This commit is contained in:
parent
b159e86b5a
commit
b2d99bcb27
|
@ -4036,6 +4036,7 @@ static int selinux_kernel_load_data(enum kernel_load_data_id id, bool contents)
|
||||||
switch (id) {
|
switch (id) {
|
||||||
case LOADING_MODULE:
|
case LOADING_MODULE:
|
||||||
rc = selinux_kernel_module_from_file(NULL);
|
rc = selinux_kernel_module_from_file(NULL);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user