[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220729090513.1467-1-liutie4@huawei.com>
Date: Fri, 29 Jul 2022 17:05:13 +0800
From: l00581214 <liutie4@...wei.com>
To: <paul@...l-moore.com>, <eparis@...hat.com>
CC: <linux-doc@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<hewenliang4@...wei.com>, <linfeilong@...wei.com>
Subject: [PATCH] audit: Modifying indentation issue.
From: Tie Liu <liutie4@...wei.com>
Modifying indentation issue in audit_rate_check().
Signed-off-by: Tie Liu <liutie4@...wei.com>
---
kernel/audit.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/kernel/audit.c b/kernel/audit.c
index 7690c29d4..deeede166 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -324,7 +324,8 @@ static inline int audit_rate_check(void)
unsigned long elapsed;
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) {
--
2.27.0
Powered by blists - more mailing lists