diff options
author | Paul Moore <paul@paul-moore.com> | 2016-06-16 17:08:19 -0400 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2016-06-16 17:08:19 -0400 |
commit | 66b12abc846d31e75fa5f2f31db1396ddfa8ee4a (patch) | |
tree | 96f853fb5fb79336e6e4a415ce67f044a88c0869 /kernel/auditfilter.c | |
parent | 2b4c7afe79a8a0a0e05edeaded5653c190153f9b (diff) | |
download | linux-stable-66b12abc846d31e75fa5f2f31db1396ddfa8ee4a.tar.gz linux-stable-66b12abc846d31e75fa5f2f31db1396ddfa8ee4a.tar.bz2 linux-stable-66b12abc846d31e75fa5f2f31db1396ddfa8ee4a.zip |
audit: fix some horrible switch statement style crimes
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'kernel/auditfilter.c')
-rw-r--r-- | kernel/auditfilter.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c index 8a8aa3fbc8d8..ff59a5eed691 100644 --- a/kernel/auditfilter.c +++ b/kernel/auditfilter.c @@ -1343,8 +1343,12 @@ static int audit_filter_user_rules(struct audit_krule *rule, int type, return result; } switch (rule->action) { - case AUDIT_NEVER: *state = AUDIT_DISABLED; break; - case AUDIT_ALWAYS: *state = AUDIT_RECORD_CONTEXT; break; + case AUDIT_NEVER: + *state = AUDIT_DISABLED; + break; + case AUDIT_ALWAYS: + *state = AUDIT_RECORD_CONTEXT; + break; } return 1; } |