Commit b1a0f64c authored by Atul Kumar Pant's avatar Atul Kumar Pant Committed by Paul Moore

audit: move trailing statements to next line

Fixes following checkpatch.pl issue:
ERROR: trailing statements should be on next line
Signed-off-by: default avatarAtul Kumar Pant <atulpant.linux@gmail.com>
[PM: subject line tweak]
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent 22cde101
...@@ -321,7 +321,8 @@ static inline int audit_rate_check(void) ...@@ -321,7 +321,8 @@ static inline int audit_rate_check(void)
unsigned long now; unsigned long now;
int retval = 0; int retval = 0;
if (!audit_rate_limit) return 1; if (!audit_rate_limit)
return 1;
spin_lock_irqsave(&lock, flags); spin_lock_irqsave(&lock, flags);
if (++messages < audit_rate_limit) { if (++messages < audit_rate_limit) {
......
...@@ -694,7 +694,8 @@ static struct audit_rule_data *audit_krule_to_data(struct audit_krule *krule) ...@@ -694,7 +694,8 @@ static struct audit_rule_data *audit_krule_to_data(struct audit_krule *krule)
data->values[i] = f->val; data->values[i] = f->val;
} }
} }
for (i = 0; i < AUDIT_BITMASK_SIZE; i++) data->mask[i] = krule->mask[i]; for (i = 0; i < AUDIT_BITMASK_SIZE; i++)
data->mask[i] = krule->mask[i];
return data; return data;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment