summaryrefslogtreecommitdiff
path: root/kernel/audit.c
diff options
context:
space:
mode:
authorAtul Kumar Pant <atulpant.linux@gmail.com>2023-08-16 02:17:51 +0530
committerPaul Moore <paul@paul-moore.com>2023-08-15 18:16:14 -0400
commitb1a0f64cc65ea2ebfaae9e0ce623e993a7d24257 (patch)
treed942f775fee03cb8951e6e2247514d8f7d843fb1 /kernel/audit.c
parent22cde1012f6a6509656f976cbe3aa5f4c5d0f1a3 (diff)
downloadlwn-b1a0f64cc65ea2ebfaae9e0ce623e993a7d24257.tar.gz
lwn-b1a0f64cc65ea2ebfaae9e0ce623e993a7d24257.zip
audit: move trailing statements to next line
Fixes following checkpatch.pl issue: ERROR: trailing statements should be on next line Signed-off-by: Atul Kumar Pant <atulpant.linux@gmail.com> [PM: subject line tweak] Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'kernel/audit.c')
-rw-r--r--kernel/audit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/audit.c b/kernel/audit.c
index 45b2fb1e45af..16205dd29843 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -321,7 +321,8 @@ static inline int audit_rate_check(void)
unsigned long now;
int retval = 0;
- if (!audit_rate_limit) return 1;
+ if (!audit_rate_limit)
+ return 1;
spin_lock_irqsave(&lock, flags);
if (++messages < audit_rate_limit) {