[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180921233822.4362-1-glebocki.przemyslaw@gmail.com>
Date: Sat, 22 Sep 2018 01:38:22 +0200
From: Przemysław Głębocki
<glebocki.przemyslaw@...il.com>
To: paul@...l-moore.com
Cc: linux-audit@...hat.com, linux-kernel@...r.kernel.org,
Przemysław Głębocki
<glebocki.przemyslaw@...il.com>
Subject: [PATCH] audit: fixed a braces coding style issue
Fixed a coding style issue.
Signed-off-by: Przemysław Głębocki <glebocki.przemyslaw@...il.com>
---
kernel/audit_tree.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/kernel/audit_tree.c b/kernel/audit_tree.c
index ea43181cde4a..3d0e45fa765d 100644
--- a/kernel/audit_tree.c
+++ b/kernel/audit_tree.c
@@ -112,10 +112,9 @@ static void free_chunk(struct audit_chunk *chunk)
{
int i;
- for (i = 0; i < chunk->count; i++) {
+ for (i = 0; i < chunk->count; i++)
if (chunk->owners[i].owner)
put_tree(chunk->owners[i].owner);
- }
kfree(chunk);
}
--
2.17.1
Powered by blists - more mailing lists